can't build on Mac Sequoia 15.4
What happened?
I'm currently compiling IREE on the macOS platform.
However, following the official compilation instructions,
as well as the content I get from my daily Git pull script,
build work flow script
neither allows me to complete the entire compilation process.
I consistently encounter the following problem:
ld: symbol(s) not found for architecture arm64
Steps to reproduce your issue
the work flow script:
conda create -n iree python=3 conda activate iree xcode-select --switch /Applications/Xcode.app/Contents/Developer xcrun metal --version xcrun metallib --version pip install -r runtime/bindings/python/iree/runtime/build_requirements.txt brew install ninja ccache coreutils bash ./build_tools/cmake/build_all.sh build-macos
got errors: ld: symbol(s) not found for architecture arm64
What component(s) does this issue relate to?
No response
Version information
No response
Additional context
No response
We have only limited capacity to test on macOS and our workflow (CI - macOS arm64 clang) runs on macOS 14, thus issues with macOS 15 might indeed be uncovered. I can try to reproduce within the CI (macOS 15 seems to be in public preview on GH-hosted runners) but debugging might be difficult as I have access to a mac. Thus, help is appreciated.
Can you share more context around the error message? Ideally full output from the build_all.sh script (or all CMake configure + build output).
I've triggered https://github.com/iree-org/iree/actions/runs/14317900035 that runs on macos-15.
I've triggered https://github.com/iree-org/iree/actions/runs/14317900035 that runs on
macos-15.
The workflow passed in the CI, thus I unfortunately cannot reproduce without further details.
I've try to reolve it. maybe some env problems.
I've try to reolve it. maybe some env problems.
Thanks. If you're still hitting the issue please provide further details.
got some clues, it's okay to turn off GTEST now. cmake -G Ninja -B ../iree-build/ . -DIREE_BUILD_TESTS=OFF cmake --build ../iree-build/ can' build and run the source .
perhaps gtest needs a bump if you can provide an actual build log with cmake configure results and errors/warnings that would be useful