Skip to content

Commit

Permalink
fix pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed Aug 7, 2024
1 parent 59d72c9 commit 58b6dba
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- run: sudo apt install g++-12-aarch64-linux-gnu
- run: sudo apt install qemu-user
- run: sudo ln -s /usr/aarch64-linux-gnu/lib/ld-linux-aarch64.so.1 /lib/
- run: bazel test --disk_cache=bazel-disk --verbose_failures --platforms='@cross_config_toolchain//:cross' --action_env=CROSS_CC=/usr/bin/aarch64-linux-gnu-gcc-12 --features=-default_link_flags --test_env=LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib test/...
- run: bazel test --disk_cache=bazel-disk --verbose_failures --platforms='@cross_config_toolchain//:cross' --action_env=CROSS_CC=/usr/bin/aarch64-linux-gnu-gcc-12 --features=-default_link_flags --linkopt=-fuse-ld=gold --test_env=LD_LIBRARY_PATH=/usr/aarch64-linux-gnu/lib test/...

workspace:
runs-on: ubuntu-latest
Expand Down
9 changes: 7 additions & 2 deletions src/babylon/logging/log_stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,16 @@ void LogStream::do_end() noexcept {}

DefaultLogStream::DefaultLogStream() noexcept
:
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wpragmas"
#pragma GCC diagnostic ignored "-Wunknown-warning-option"
#pragma GCC diagnostic ignored "-Wnull-dereference"
#if __clang__ || BABYLON_GCC_VERSION >= 50000
LogStream {*::std::cerr.rdbuf()}
LogStream {*reinterpret_cast<::std::streambuf*>(0)}
#else // !__clang__ && BABYLON_GCC_VERSION < 50000
LogStream(*::std::cerr.rdbuf())
LogStream(*reinterpret_cast<::std::streambuf*>(0))
#endif // !__clang__ && BABYLON_GCC_VERSION < 50000
#pragma GCC diagnostic pop
{
// Ensure std::cerr is initialized
::std::ios_base::Init();
Expand Down

0 comments on commit 58b6dba

Please sign in to comment.