File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -81,3 +81,6 @@ build:release -c opt
81
81
build:release --copt="-DFORCE_DEBUG=1"
82
82
build:release --copt="-O2"
83
83
build:release --config=stacktraces
84
+
85
+ build:release-linux --config=release --config=linux
86
+ build:release-linux --cxxopt="-flto=thin" --linkopt="-flto=thin"
Original file line number Diff line number Diff line change 90
90
echo "build --remote_cache=$CI_BAZEL_REMOTE_CACHE --google_default_credentials"
91
91
} > ci.bazelrc
92
92
# Comment out the 'upload log' bit below for debugging
93
- bazel build //indexer:scip-clang --config="$CONFIG" # --execution_log_binary_file=log
93
+ SUFFIX=""
94
+ if [ "$CONFIG" == "release" ]; then
95
+ if [ "$(uname -s)" == "Linux" ]; then
96
+ SUFFIX="-linux"
97
+ fi
98
+ fi
99
+ bazel build //indexer:scip-clang --config="$CONFIG$SUFFIX" # --execution_log_binary_file=log
94
100
if [ "$RUNNER_OS" == "Linux" ]; then
95
101
echo "--- GLIBC VERSIONS ---"
96
102
objdump -T bazel-bin/indexer/scip-clang | grep GLIBC | sed 's/.*GLIBC_\([.0-9]*\).*/\1/g' | sort -Vu
You can’t perform that action at this time.
0 commit comments