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

dreieck commented on 2025-03-05 09:15 (UTC)

build() fails for me with

[ 66%] Building CXX object lib/MC/CMakeFiles/LLVMMC.dir/MCInstPrinter.cpp.o
/usr/bin/ld: ../../lib/libLLVMSupport.a: error adding symbols: file format not recognized
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [utils/TableGen/CMakeFiles/llvm-tblgen.dir/build.make:197: bin/llvm-tblgen] Error 1
make[2]: *** [CMakeFiles/Makefile2:12162: utils/TableGen/CMakeFiles/llvm-tblgen.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....

With clang, same.

dreieck commented on 2025-03-05 09:11 (UTC) (edited on 2025-03-05 09:12 (UTC) by dreieck)

Please add

  • provides=("tapi") and
  • conflicts=("tapi").

Regards and thanks for the package!

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.