61bcdefg / Hikari-LLVM15

A fork of Hikari Obfuscator [WIP]
604 stars 187 forks source link

llvm-17.0.6rel 编译不了 #112

Closed netstu closed 4 months ago

netstu commented 4 months ago

一直提示 Enabling the legacy pass manager on the cmake level is no longer supported

编译参数 cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES=arm64 -DLLVM_ENABLE_PROJECTS=clang -DLLVM_TARGETS_TO_BUILD="X86;ARM;AArch64" -DLLVM_ENABLE_ZSTD=OFF -DCMAKE_OSX_DEPLOYMENT_TARGET=12.0 -DLLVM_CREATE_XCODE_TOOLCHAIN=ON -DLLVM_INCLUDE_TESTS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_UTILS=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_BUILD_TOOLS=OFF -DLLVM_INSTALL_TOOLCHAIN_ONLY=ON -DCMAKE_INSTALL_PREFIX="./install" ../llvm

61bcdefg commented 4 months ago

你是不是之前构建时传递了-DLLVM_ENABLE_NEW_PASS_MANAGER=OFF ? 这个选项默认是打开的 重新加上-DLLVM_ENABLE_NEW_PASS_MANAGER=ON