Skip to content
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

Prerequisites for GCC 13 #5449

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 6 additions & 12 deletions flatbuffers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,14 @@
- CMake
- "GCC-Toolchain:(?!osx)"
- alibuild-recipe-tools
- ninja
---
#!/bin/bash -e
cmake "$SOURCEDIR" \
-G 'Unix Makefiles' \
-DFLATBUFFERS_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX="$INSTALLROOT" \
-DCMAKE_CXX_FLAGS="$CXXFLAGS -Wno-unknown-warning -Wno-unknown-warning-option -Wno-error=unused-but-set-variable"
# LLVM 15 requires -Wno-error=unused-but-set-variable to compile
# flatbuffers, but GCC earlier LLVM versions don't understand this
# option, so we need -Wno-unknown-warning (for GCC) and
# -Wno-unknown-warning-option (for Clang) as well.
cmake "$SOURCEDIR" \

Check notice on line 12 in flatbuffers.sh

View workflow job for this annotation

GitHub Actions / alidistlint

Missing script shebang. Use exactly "#!/bin/bash -e" to match aliBuild environment. You may see spurious errors until you fix the shebang. [ali:bad-shebang]
-G 'Ninja' \
-DFLATBUFFERS_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX="$INSTALLROOT"

make ${JOBS:+-j $JOBS}
make install
cmake --build . -- ${JOBS:+-j$JOBS} install

# Modulefile
mkdir -p "$INSTALLROOT/etc/modulefiles"
Expand Down
4 changes: 2 additions & 2 deletions ucx.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package: ucx
version: "%(tag_basename)s"
tag: v1.13.1
tag: v1.13.1-alice1
requires:
- "GCC-Toolchain:(?!osx)"
build_requires:
- "autotools:(slc6|slc7)"
- alibuild-recipe-tools
- "GCC-Toolchain:(?!osx)"
source: https://github.com/openucx/ucx
source: https://github.com/alisw/ucx
---
#!/bin/bash -e

Expand Down
Loading