Package Details: tapi-git r38.86f43cdb6-1

Git Clone URL: https://aur.archlinux.org/tapi-git.git (read-only, click to copy)
Package Base: tapi-git
Description: Apple TAPI library
Upstream URL: https://github.com/tpoechtrager/apple-libtapi
Licenses: LLVM
Submitter: aspen
Maintainer: aspen
Last Packager: aspen
Votes: 1
Popularity: 0.000000
First Submitted: 2020-08-31 19:54 (UTC)
Last Updated: 2020-08-31 19:54 (UTC)

Dependencies (3)

Required by (1)

Sources (1)

Latest Comments

zerf commented on 2024-10-13 06:30 (UTC)

got a strange linker error related to libLLVMSupport.a until I forced lld:

diff --git a/build.sh b/build.sh
index 2ceb4c189..a7d049425 100755
--- a/build.sh
+++ b/build.sh
@@ -19,6 +19,9 @@ if [[ "$(basename "$0")" == *tapi_tools* ]]; then
   CMAKE_SHARED_LINKER_FLAGS+=" -fuse-ld=lld"
 fi

+CMAKE_EXE_LINKER_FLAGS+=" -fuse-ld=lld"
+CMAKE_SHARED_LINKER_FLAGS+=" -fuse-ld=lld"
+
 if [ "$NINJA" = 1 ]; then
   command -v ninja &>/dev/null || {
     echo "Missing ninja" 1>&2
@@ -59,6 +62,7 @@ cmake -G "$cmakegen" ../src/llvm \
  -DLLVM_INCLUDE_TESTS=OFF \
  -DCMAKE_BUILD_TYPE=RELEASE \
  -DLLVM_ENABLE_PROJECTS="tapi;clang" \
+ -DLLVM_USE_LINKER="lld" \
  -DCMAKE_INSTALL_PREFIX="$INSTALLPREFIX" \
  -DTAPI_REPOSITORY_STRING=$TAPI_VERSION \
  -DTAPI_FULL_VERSION=$TAPI_VERSION \

zkm2fw commented on 2021-03-01 02:30 (UTC)

Suggestions:

(1) Let's be paranoid

provides=(tapi apple-tapi apple-tapi-git)
conflicts=(tapi apple-tapi apple-tapi-git)

(2) Add 'clang>=8' to makedepends. It doesn't seem to be a good idea to build Apple stuff w/ GCC.