-
Notifications
You must be signed in to change notification settings - Fork 180
Hotfix: Test changes over #6114 #6115
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
base: master
Are you sure you want to change the base?
Conversation
beced63 to
b8dd500
Compare
|
Overriden by #6114 |
b8dd500 to
cfde5ef
Compare
c9cf9d4 to
92d2bd8
Compare
| ${PROTOBUF_ROOT:+-DProtobuf_DIR=${PROTOBUF_ROOT}} \ | ||
| ${ABSEIL_ROOT:+-Dabsl_DIR=$ABSEIL_ROOT} \ | ||
| ${C_ARES_ROOT:+-Dc-ares_DIR=$C_ARES_ROOT} \ | ||
| -Dre2_DIR=${RE2_ROOT:-$(brew --prefix re2)/lib/cmake/re2} \ |
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.
This will fail when not on macOS, no?
| export CMAKE_FIND_USE_SYSTEM_ENVIRONMENT_PATH=OFF | ||
|
|
||
| # Build CMAKE_PREFIX_PATH without trailing colons from unset variables | ||
| CMAKE_PREFIX_PATH_components="$ABSEIL_ROOT/cmake:$PROTOBUF_ROOT/cmake" |
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.
why not
| CMAKE_PREFIX_PATH_components="$ABSEIL_ROOT/cmake:$PROTOBUF_ROOT/cmake" | |
| CMAKE_PREFIX_PATH="$ABSEIL_ROOT/cmake:$PROTOBUF_ROOT/cmake${C_ARES_ROOT:+:$C_ARES_ROOT}" |
?
Why using a different name from the CMake define?
| -G Ninja \ | ||
| ${CXXSTD:+-DCMAKE_CXX_STANDARD=$CXXSTD} \ | ||
| -DCMAKE_INSTALL_PREFIX=$INSTALLROOT \ | ||
| -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH_components \ |
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.
See above...
| -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH_components \ | |
| -DCMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH \ |
| alibuild-generate-module --bin --lib > etc/modulefiles/$PKGNAME | ||
| mkdir -p $INSTALLROOT/etc/modulefiles && rsync -a --delete etc/modulefiles/ $INSTALLROOT/etc/modulefiles | ||
| mkdir -p "$INSTALLROOT/etc/modulefiles" | ||
| alibuild-generate-module --bin --lib >"$INSTALLROOT/etc/modulefiles/$PKGNAME" |
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.
This will break the incremental recipe. Why changing it?
|
|
||
| # export compile_commands.json in (taken from o2.sh) | ||
| DEVEL_SOURCES="$(readlink $SOURCEDIR || echo $SOURCEDIR)" | ||
| DEVEL_SOURCES="$(readlink "$SOURCEDIR" || echo "$SOURCEDIR")" |
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.
Unrelated. Please move them to a separate PR.
| if [ "$DEVEL_SOURCES" != "$SOURCEDIR" ]; then | ||
| perl -p -i -e "s|$SOURCEDIR|$DEVEL_SOURCES|" compile_commands.json | ||
| ln -sf $BUILDDIR/compile_commands.json $DEVEL_SOURCES/compile_commands.json | ||
| ln -sf "$BUILDDIR"/compile_commands.json "$DEVEL_SOURCES"/compile_commands.json |
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.
Unrelated. Please move them to a separate PR.
Rebased on #6114 but with some temporary fixes for the CI