Skip to content

Commit c6bbfc3

Browse files
committed
fix: add missing flag for linux
1 parent aab6848 commit c6bbfc3

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ query --@ecsact_cli//:use_sdk_version
2121

2222
build:windows --workspace_status_command=bazel/tools/wsc.cmd
2323
build:linux --workspace_status_command=bazel/tools/wsc.sh
24+
build:linux --linkopt=-lc++experimental
2425

2526
# Temporary until https://github.com/grailbio/bazel-toolchain/pull/198 is merged
2627
build:linux --extra_toolchains=@llvm_toolchain//:cc-toolchain-x86_64-linux

CheckDist.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ set -e
44

55
bazel build --config=ci //:copy_runfiles //:copy_dist_bin //:copy_dist_include //:copy_dist_codegen_plugins
66

7-
bazel run --config=ci //:copy_runfiles
87
bazel run --config=ci //:copy_dist_bin
98
bazel run --config=ci //:copy_dist_include
109
bazel run --config=ci //:copy_dist_codegen_plugins
@@ -15,7 +14,6 @@ echo
1514

1615
[ ! -d "dist/include/ecsact" ] && echo "Missing ecsact include directory" && exit 1
1716
[ ! -f "dist/bin/ecsact" ] && echo "Missing ecsact CLI" && exit 1
18-
[ ! -f "dist/bin/ecsact_rtb" ] && echo "Missing ecsact runtime builder CLI" && exit 1
19-
[ ! -d "dist/bin/ecsact_rtb.runfiles" ] && echo "Missing ecsact rtb runfiles" && exit 1
17+
[ ! -f "dist/bin/ecsact_lsp_server" ] && echo "Missing ecsact lsp CLI" && exit 1
2018

2119
exit 0

WORKSPACE.bazel

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ load("@com_grail_bazel_toolchain//toolchain:rules.bzl", "llvm_toolchain")
7171

7272
llvm_toolchain(
7373
name = "llvm_toolchain",
74-
cxx_standard = {"linux": "c++20"},
75-
distribution = "clang+llvm-15.0.6-x86_64-linux-gnu-ubuntu-18.04.tar.xz",
76-
llvm_version = "15.0.6",
74+
llvm_version = "16.0.4",
7775
)
7876

7977
load("@llvm_toolchain//:toolchains.bzl", "llvm_register_toolchains")

0 commit comments

Comments
 (0)