diff options
Diffstat (limited to 'source/l/spirv-llvm-translator/spirv-llvm-translator.SlackBuild')
-rwxr-xr-x | source/l/spirv-llvm-translator/spirv-llvm-translator.SlackBuild | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/source/l/spirv-llvm-translator/spirv-llvm-translator.SlackBuild b/source/l/spirv-llvm-translator/spirv-llvm-translator.SlackBuild index 621220ea8..a4c6b3249 100755 --- a/source/l/spirv-llvm-translator/spirv-llvm-translator.SlackBuild +++ b/source/l/spirv-llvm-translator/spirv-llvm-translator.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2021 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2021, 2023 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=spirv-llvm-translator VERSION=${VERSION:-$(echo SPIRV-LLVM-Translator-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-2} +BUILD=${BUILD:-1} NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} @@ -88,14 +88,6 @@ find . \ # the -DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR option below. tar xf $CWD/SPIRV-Headers.tar.lz -## DISABLED... this still leads to problems which can be demonstrated by -## running clinfo. -## Fix -DBUILD_SHARED_LIBS=ON -#zcat $CWD/1889.patch.gz | patch -p1 --verbose || exit 1 - -# Avoid duplicated symbols. Thanks to lucabon! :-) -zcat $CWD/spirv-llvm-translator-noSTATIC-noDISABLE_LLVM_LINK_LLVM_DYLIB.diff.gz | patch -p1 --verbose || exit 1 - # Build and install: mkdir -p build cd build |