summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Bernard2020-04-27 16:15:51 +0200
committerSamuel Bernard2020-04-27 18:56:21 +0200
commite595b6589418213ff17564d100575bd3cbad5f48 (patch)
treeaa888870b32f9ef6a1195ff35ec1aea436f54e38
parent84c7ba1f0edab22b6a76b6df1ae5bb26914df76f (diff)
downloadaur-e595b6589418213ff17564d100575bd3cbad5f48.tar.gz
llvm-amdgpu: remove DYLIB compilation
Needed to avoid the following error with pytorch: ': CommandLine Error: Option 'disable-symbolication' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options'
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 2 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 4c6c39eeed1..d5a511c684a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = llvm-amdgpu
pkgdesc = Radeon Open Compute - LLVM toolchain (llvm, clang, lld)
pkgver = 3.3.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/RadeonOpenCompute/llvm-project
arch = x86_64
license = custom:Apache 2.0 with LLVM Exception
diff --git a/PKGBUILD b/PKGBUILD
index 769c9fb7a1c..4e4ff687ae5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=llvm-amdgpu
pkgdesc='Radeon Open Compute - LLVM toolchain (llvm, clang, lld)'
pkgver=3.3.0
-pkgrel=1
+pkgrel=2
arch=('x86_64')
url='https://github.com/RadeonOpenCompute/llvm-project'
license=('custom:Apache 2.0 with LLVM Exception')
@@ -27,12 +27,10 @@ build() {
cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX='/opt/rocm/llvm' \
-DLLVM_HOST_TRIPLE=$CHOST \
- -DLLVM_BUILD_LLVM_DYLIB=ON \
-DLLVM_BUILD_UTILS=ON \
-DLLVM_ENABLE_BINDINGS=OFF \
-DLLVM_ENABLE_OCAMLDOC=OFF \
-DLLVM_ENABLE_PROJECTS='llvm;clang;lld' \
- -DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_TARGETS_TO_BUILD='AMDGPU;X86' \
-DOCAMLFIND=NO \
"$_dirname/llvm"