-
Notifications
You must be signed in to change notification settings - Fork 92
build!: Install ystdlib as a package to avoid duplicate ystdlib files.
#1038
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
Changes from 5 commits
1cc7e76
8e0e4d5
aba106f
917fd86
9a2c19e
71e96ac
430f91c
2f1b08d
f324686
a51b899
04cc82a
0e29499
cfad209
753e555
15f3097
55516f5
2f7963d
0679303
71c0a05
7d534bf
072482f
cf2c37b
fa5dfc2
e2434cb
39961b4
5e9d8c6
9478ae8
fca4857
67d2363
2d82296
260b69d
c91dc84
693e2d0
234a1f3
99cdacc
0f1034a
db7cd48
9e2c951
7e528b4
aadd28c
d80898d
5fd31da
ea5813a
453a9c7
c923e72
18ddf6c
be467e8
c2501df
dcb3e28
06527be
eed0d81
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,7 +9,9 @@ set -u | |
| script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" | ||
| lib_install_scripts_dir=$script_dir/.. | ||
|
|
||
| # NOTE: boost must be installed first since the remaining packages depend on it | ||
| # NOTE: cmake must be installed first since the remaining packages depend on it to build | ||
| "$lib_install_scripts_dir"/install-cmake.sh 3.23.5 | ||
| # NOTE: boost must be installed second since the remaining packages depend on it | ||
|
sitaowang1998 marked this conversation as resolved.
Outdated
|
||
| "$lib_install_scripts_dir"/install-boost.sh 1.87.0 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧹 Nitpick (assertive) Add
# Exit on any error
set -e
+ # Fail the whole pipeline if any element fails
+ set -o pipefail
🤖 Prompt for AI Agents |
||
|
|
||
| "$lib_install_scripts_dir"/libarchive.sh 3.5.1 | ||
|
|
||
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.
🛠️ Refactor suggestion
Unconditionally requiring
ystdlibmay break consumer projectsAll other third-party libraries are gated behind
CLP_NEED_*flags, butystdlibis now unconditional. Projects embedding clp as a sub-project and disabling unused dependencies will be forced to provideystdlibeven if they don’t need it.Also note that
set(ystdlib_BUILD_TESTING OFF)has no effect when you consume a pre-built package; the option only matters when you build ystdlib from source. Passing the flag via CMake configure in the dependency task (which you already do) is sufficient.🤖 Prompt for AI Agents