Skip to content

build: bump minimum CMake requirement #606

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

Merged
merged 1 commit into from
Dec 7, 2023
Merged

Conversation

compnerd
Copy link
Collaborator

@compnerd compnerd commented Dec 7, 2023

Update the CMake requirement to 3.19 as Swift requires 3.19.x to build. The upgrade allows us to remove workarounds that we were carrying for older CMake compatibility.

Update the CMake requirement to 3.19 as Swift requires 3.19.x to build.
The upgrade allows us to remove workarounds that we were carrying for
older CMake compatibility.
@compnerd
Copy link
Collaborator Author

compnerd commented Dec 7, 2023

@swift-ci please test

@compnerd
Copy link
Collaborator Author

compnerd commented Dec 7, 2023

CC: @natecook1000 @rauhul

@rauhul rauhul merged commit 11c580b into apple:main Dec 7, 2023
@compnerd compnerd deleted the version branch December 7, 2023 22:00
@rauhul
Copy link
Contributor

rauhul commented Dec 7, 2023

FWIW I have no issues with you directly merging cmake changes

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
endif()
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)
Copy link

@bnbarham bnbarham Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this too late now @compnerd? SwiftSupport is within cmake/modules and is included before this now. CC @xedin

I'm confused as to how this passed CI though 🤔

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, that is a good point 🤔. How did CI get away with this?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, looking at logs CI is using SPM, not CMake

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh lovely :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants