From 5bf50ba1bc92bc9bedd266238a2009dbe89aaa09 Mon Sep 17 00:00:00 2001 From: Liu Liu Date: Mon, 3 Jun 2024 19:53:44 -0400 Subject: [PATCH] Add nostart-stop-gc --- .github/workflows/ubuntu-bazel.yaml | 2 ++ .gitignore | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/ubuntu-bazel.yaml b/.github/workflows/ubuntu-bazel.yaml index 43b2ac80a..9c0f42383 100644 --- a/.github/workflows/ubuntu-bazel.yaml +++ b/.github/workflows/ubuntu-bazel.yaml @@ -24,6 +24,8 @@ jobs: run: | sudo apt -y install clang llvm ./bazel/setup_clang.sh + echo 'build --linkopt="-z nostart-stop-gc"' >> "${GITHUB_WORKSPACE}/.bazelrc.local" + echo 'build --host_linkopt="-z nostart-stop-gc"' >> "${GITHUB_WORKSPACE}/.bazelrc.local" - name: Run tests run: | diff --git a/.gitignore b/.gitignore index 83042fe83..df1f778f3 100644 --- a/.gitignore +++ b/.gitignore @@ -102,5 +102,6 @@ Package.resolved Documentation clang.bazelrc +.bazelrc.local .index