Commit 0301a854 authored by AlmAck's avatar AlmAck
Browse files

clang build [skip-ci]

parent 9baa2093
Pipeline #4091 skipped
......@@ -10,7 +10,7 @@ arch=('x86_64')
url="https://clang.llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
depends=('llvm-libs' 'gcc' 'compiler-rt')
makedepends=('llvm' 'cmake' 'ninja' 'python3-sphinx' 'python2' 'gmock')
makedepends=('llvm' 'cmake' 'ninja' 'python3-sphinx' 'python2')
optdepends=('openmp: OpenMP support in clang with -fopenmp'
'python3: for scan-view and git-clang-format'
'llvm: referenced by some clang headers')
......@@ -71,7 +71,7 @@ build() {
-DBUILD_SHARED_LIBS=ON \
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_ENABLE_RTTI=ON \
-DLLVM_BUILD_TESTS=ON \
-DLLVM_BUILD_TESTS=OFF \
-DLLVM_INCLUDE_DOCS=ON \
-DLLVM_BUILD_DOCS=ON \
-DLLVM_ENABLE_SPHINX=ON \
......@@ -80,10 +80,10 @@ build() {
ninja
}
check() {
cd "$srcdir/cfe-$pkgver.src/build"
ninja check-clang{,-tools}
}
#check() {
# cd "$srcdir/cfe-$pkgver.src/build"
# ninja check-clang{,-tools}
#}
_python2_optimize() {
python2 -m compileall "$@"
......
......@@ -4,7 +4,7 @@
pkgname=compiler-rt
pkgver=8.0.1
pkgrel=1
pkgrel=2
pkgdesc="Compiler runtime libraries for clang"
arch=('x86_64')
url="https://compiler-rt.llvm.org/"
......
# Contributions from Arch:
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
pkgname=lld
pkgver=8.0.1
......@@ -10,7 +7,7 @@ arch=('x86_64')
url="https://lld.llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
depends=(llvm-libs=$pkgver)
makedepends=("llvm=$pkgver" 'cmake' 'ninja' 'python3-sphinx' 'gmock')
makedepends=("llvm=$pkgver" 'cmake' 'ninja' 'python3-sphinx')
source=(https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/$pkgname-$pkgver.src.tar.xz{,.sig}
https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver/llvm-$pkgver.src.tar.xz{,.sig})
sha256sums=('9fba1e94249bd7913e8a6c3aadcb308b76c8c3d83c5ce36c99c3f34d73873d88'
......@@ -18,7 +15,7 @@ sha256sums=('9fba1e94249bd7913e8a6c3aadcb308b76c8c3d83c5ce36c99c3f34d73873d88'
'44787a6d02f7140f145e2250d56c9f849334e11f9ae379827510ed72f12b75e7'
'SKIP')
validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans@chromium.org>
validpgpkeys+=('11E521D646982372EB577A1F8F0871F202119294') # Tom Stellard <tom@stellard.net>
validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
prepare() {
cd "$srcdir/$pkgname-$pkgver.src"
......@@ -43,6 +40,12 @@ build() {
ninja
}
check() {
cd "$srcdir/$pkgname-$pkgver.src/build"
ninja check-lld
}
package() {
cd "$srcdir/$pkgname-$pkgver.src/build"
......@@ -52,3 +55,4 @@ package() {
# Remove documentation sources
rm -r "$pkgdir"/usr/share/doc/$pkgname/html/{_sources,.buildinfo}
}
# vim:set ts=2 sw=2 et:
# $Id$
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
#llvm now split to different packages
#
#- llvm, llvm-libs (in dir llvm/): the main llvm lib and functional part
#- lld: (dynamic) linker of llvm
#- lldb: debugger of llvm
#- compiler-rt: runtime compiler lib for clang to build and run
#- clang: C/C++ compiler from llvm project
#
#they should stay in same release version
#the update sequence is:
#(optional ocaml group->) llvm -> lld -> compiler-rt -> clang
pkgname=('llvm' 'llvm-libs' 'llvm-ocaml')
pkgver=8.0.1
pkgrel=1
pkgrel=2
_ocaml_ver=4.08.0
arch=('x86_64')
url="https://llvm.org/"
......
pkgbase=python-sphinx
pkgname=('python3-sphinx' 'python2-sphinx')
pkgver=1.7.9
pkgrel=1
pkgver=1.8.5
pkgrel=2
arch=('any')
url='http://sphinx.pocoo.org/'
license=('GPL')
......@@ -37,7 +37,7 @@ checkdepends=(
'python3-pytz' 'python2-pytz'
)
source=("https://pypi.org/packages/source/S/Sphinx/Sphinx-$pkgver.tar.gz")
md5sums=('a39a368b88c35c3797f7f0cb492cccc4')
md5sums=('554f7a4e752f48b2601e5ef5ab463346')
prepare() {
# souce duplication is required because makefile modify source code
......@@ -94,6 +94,7 @@ package_python3-sphinx() {
'python3-six'
'python3-imagesize'
'python3-requests'
'python3-setuptools'
'python3-sphinxcontrib-websupport'
'python3-sqlalchemy'
'python3-whoosh'
......@@ -117,6 +118,7 @@ package_python2-sphinx() {
'python2-six'
'python2-imagesize'
'python2-requests'
'python2-setuptools'
'python2-sphinxcontrib-websupport'
'python2-sqlalchemy'
'python2-whoosh'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment