Commit 797257aa authored by Jeff Huang's avatar Jeff Huang 🤔
Browse files

[testing] clang: try to fix build

parent 3aacf730
Pipeline #4081 failed with stages
in 25 minutes and 13 seconds
......@@ -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')
makedepends=('llvm' 'cmake' 'ninja' 'python3-sphinx' 'python2' 'gmock')
optdepends=('openmp: OpenMP support in clang with -fopenmp'
'python3: for scan-view and git-clang-format'
'llvm: referenced by some clang headers')
......@@ -76,8 +76,7 @@ build() {
-DLLVM_BUILD_DOCS=ON \
-DLLVM_ENABLE_SPHINX=ON \
-DSPHINX_WARNINGS_AS_ERRORS=OFF \
-DLLVM_EXTERNAL_LIT=/usr/bin/lit \
-DLLVM_MAIN_SRC_DIR="$srcdir/llvm-$pkgver.src"
-DLLVM_EXTERNAL_LIT=/usr/bin/lit
ninja
}
......
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