-
Notifications
You must be signed in to change notification settings - Fork 72
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
core: Add support for building on Centos Stream 9 and drop support for building on Centos 7.4 (fixes #521). #528
Conversation
…allelize shared and static library builds.
…sn't affect the other.
components/core/CMakeLists.txt
Outdated
message( | ||
AUTHOR_WARNING | ||
"Building with static libraries is unsupported on \ | ||
${CLP_STATIC_LIBS_UNSUPPORTED_PLATFORM}. Switching to shared libraries.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at line 132 in the same file, I feel this line wrapping is inappropriate.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, my mistake.
components/core/tools/scripts/lib_install/centos-stream-9/install-packages-from-source.sh
Outdated
Show resolved
Hide resolved
…all-packages-from-source.sh Co-authored-by: Lin Zhihao <[email protected]>
message( | ||
AUTHOR_WARNING | ||
"Building with static libraries is unsupported on" | ||
" ${CLP_STATIC_LIBS_UNSUPPORTED_PLATFORM}. Switching to shared libraries.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put the space on this line to follow our code style of putting operators, etc. at the beginning of a broken line.
…r building on Centos 7.4 (fixes y-scope#521). (y-scope#528) Co-authored-by: Lin Zhihao <[email protected]>
Description
As #521 mentions, CentOS reached EoL on 2024-Jun-30, so its default mirror list no longer exists. It seems like some folks have moved to CentOS Stream 9.
This PR adds support for building on CentOS Stream 9 and drops support for building on CentOS 7.4. We can't say for sure if this will affect existing users, but hopefully they will file an issue if it does.
Note that:
mysql.h
directly rather than as a file withinmariadb
, so this PR updates all references to do the same.mysql.h
before was essentially using the include from the system-include directory, bypassing the CMake config script (which sets the include dir to<system-include-dir>/mariadb
already), so this is more correct.Validation performed