-
-
Notifications
You must be signed in to change notification settings - Fork 97
CMake error building from source #130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Upstreams definitions are here: https://github.com/Kitware/CMake/blob/master/Modules/CMakeDetermineRCCompiler.cmake CMake debugging commands are these: # Debugging
# --trace, --trace-expand, --debug-output
# run cmake with -LH to get all variables printed after configuration.
# function(PRINT_VAR VARNAME)
# message(STATUS "${VARNAME}: ${${VARNAME}}")
# endfunction()
# PRINT_VAR("CMAKE_CXX_COMPILER")
# cmake -P to run a single script You could either use some of the debugging commands or "printf" on the module code. |
I updated my system and pulled the latest changes and was able to build LLVM using system C++ compiler, stage1, stage2 and then failing stage3 with:
|
This looks exactly like ziglang/zig#12888, which was fixed in some later Zig commit ziglang/zig#12898 (0b47e69). |
I had that commit patched separately but then also accidentally reverted it in a merge conflict. With the revert reverted it now builds stage3 successfully. I'll let the build run and close when it succeeds. |
I tried to build Windows tarball for ziglang/zig#12994 but got
I fixed this with
but I'm not sure how correct that is.
I ran into #127 which I was able to fix by applying ziglang/zig#12898 after which I ran into:
The text was updated successfully, but these errors were encountered: