summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTorsten Keßler2021-02-04 19:14:40 +0100
committerTorsten Keßler2021-02-04 19:14:40 +0100
commit3a10089c3ff1b39a26bf197b68a40e7b5aef3ba1 (patch)
tree5ad4e172a0ae69b2856b4f349ba9578985d9bc42
parent9fdae70b13f2f858b546feeb461eeb6284b4af89 (diff)
downloadaur-3a10089c3ff1b39a26bf197b68a40e7b5aef3ba1.tar.gz
upgpkg: llvm-amdgpu 4.0.1-1
upstream release Revert changes related to tensorflow
-rw-r--r--PKGBUILD5
1 files changed, 1 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2ccaf0b583a..1024315f458 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,7 +13,6 @@ makedepends=(cmake python ninja)
source=("${pkgname}-${pkgver}.tar.gz::$url/archive/rocm-$pkgver.tar.gz")
sha256sums=('8003ede5a1462f46f0bb1b8b16c14ac6e884d322561235f7111ef7c3e74c6b07')
_dirname="$(basename "$url")-$(basename "${source[0]}" .tar.gz)"
-_pythonver=$(python --version | grep -o "[[:digit:]].[[:digit:]]")
build() {
cmake -GNinja \
@@ -27,9 +26,7 @@ build() {
-DLLVM_ENABLE_OCAMLDOC=OFF \
-DLLVM_ENABLE_PROJECTS='llvm;clang;compiler-rt;lld' \
-DLLVM_TARGETS_TO_BUILD='AMDGPU;X86' \
- -DOCAMLFIND=NO \
- -DCMAKE_CXX_FLAGS='-I/usr/include/tensorflow' \
- -DTENSORFLOW_AOT_PATH="/usr/lib/python${_pythonver}/site-packages/tensorflow"
+ -DOCAMLFIND=NO
ninja
}