-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
Minimum CMake version is too low #54099
Comments
@llvm/issue-subscribers-bolt |
It would be preferable to make it compatible with cmake 3.13.4 instead. It's annoying/confusing to have a single subproject with a different cmake version requirement. |
|
aaupov
added a commit
that referenced
this issue
Mar 8, 2022
Remove `TYPE BIN` parameter that is introduced in CMake 3.14 and revert back to the equivalent compatible form `DESTINATION ${CMAKE_INSTALL_BINDIR}`. Addresses #54099 Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D121012
aaupov
added a commit
that referenced
this issue
Mar 8, 2022
Remove `TYPE BIN` parameter that is introduced in CMake 3.14 and revert back to the equivalent compatible form `DESTINATION ${CMAKE_INSTALL_BINDIR}`. Addresses #54099 Reviewed By: rafauler Differential Revision: https://reviews.llvm.org/D121012 (cherry picked from commit 018ad03)
Committed to both main and release/14.x |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The minimum supported CMake version is currently set to
3.13.4
(https://github.com/llvm/llvm-project/blob/main/llvm/CMakeLists.txt#L3). However, thebolt
subproject uses theTYPE
parameter for theinstall
command (https://github.com/llvm/llvm-project/blob/main/bolt/tools/driver/CMakeLists.txt#L38), which does not seem to work in this version. It seems that the minimum CMake version should be bumped to3.14.0
.CMake 3.13: https://cmake.org/cmake/help/v3.13/command/install.html#programs (TYPE is missing)
CMake 3.14: https://cmake.org/cmake/help/v3.14/command/install.html#programs (TYPE is present)
I hit this while trying to build BOLT with LLVM 3.13.4 in a
rustc
CI workflow.This has also been noticed in other projects: https://github.com/coelckers/prboom-plus/pull/126/files.
The text was updated successfully, but these errors were encountered: