61bcdefg/Hikari-LLVM15

failed to compile, Configuring incomplete, errors occurred!

Closed this issue · 7 comments

i need help, thanks
error

  The source directory

    /Users/quangblue/Hikari-LLVM15/llvm/lib/Transforms/Obfuscation

  does not contain a CMakeLists.txt file.
-- Performing Test HAVE_PTHREAD_AFFINITY -- failed to compile
-- Configuring incomplete, errors occurred!
1. git clone --branch apple-arm64e-upstream-next  https://github.com/61bcdefg/Hikari-LLVM15.git
2. cd Hikari-LLVM15
3. mkdir build
4. cd build
5. cmake -G Ninja -DCMAKE_BUILD_TYPE=MinSizeRel -DLLVM_CREATE_XCODE_TOOLCHAIN=ON -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_TARGETS_TO_BUILD="X86;ARM;AArch64" -DLLVM_ENABLE_RUNTIMES="compiler-rt" -DLLVM_INCLUDE_TESTS=OFF -DCMAKE_OSX_DEPLOYMENT_TARGET=10.14 -DLLVM_INCLUDE_EXAMPLES=OFF ../llvm
image
  1. git clone --branch apple-arm64e-upstream-next https://github.com/61bcdefg/Hikari-LLVM15.git

git clone --recursive --branch apple-arm64e-upstream-next https://github.com/61bcdefg/Hikari-LLVM15.git

  1. git clone --branch apple-arm64e-upstream-next https://github.com/61bcdefg/Hikari-LLVM15.git

git clone --recursive --branch apple-arm64e-upstream-next https://github.com/61bcdefg/Hikari-LLVM15.git

i have new problem
after run sudo ninja install-xcode-toolchain
error Undefined symbols for architecture arm64: "llvm::createObfuscationLegacyPass()", referenced from: __GLOBAL__sub_I_bugpoint.cpp in bugpoint.cpp.o ld: symbol(s) not found for architecture arm64

image

thanks <3

Is this an error? it has been standing here for more than 2 hours, i use macbook m2 pro and xcode 15.2

image

debec9a

new error bro

image

This error has nothing to do with this project and is also present when building Apple's original source. So we cannot build compiler-rt, instead, copy the libraries from XcodeDefault.xctoolchain.