Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Szkered committed Oct 27, 2023
1 parent 581fe38 commit 30817b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ build --@rules_cuda//cuda:enable_cuda
build --@rules_cuda//cuda:copts=-std=c++17
build --repo_env=CUDA_DIR=/usr/local/cuda
build --repo_env=CUDA_PATH=/usr/local/cuda
#build --repo_env=CC=gcc-12
build --repo_env=CC=gcc-12
# TODO: check whether both env var are needed
build --action_env=CUDA_DIR=/usr/local/cuda
build --action_env=CUDA_PATH=/usr/local/cuda
#build --action_env=CC=gcc-12
build --action_env=CC=gcc-12

build --action_env=BAZEL_LINKLIBS=-l%:libstdc++.a:-lm
build --action_env=BAZEL_LINKOPTS=-static-libgcc
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ bazel-release: bazel-install bazel-pip-requirement-release
cp bazel-bin/setup.runfiles/$(PROJECT_NAME)/dist/*.whl ./dist

bazel-test: bazel-install bazel-pip-requirement-dev
bazel test --action_env=LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH --action_env=PATH=/usr/local/cuda/bin:$PATH --test_output=all $(BAZELOPT) //... --config=test --spawn_strategy=local --color=yes
bazelisk test --action_env=LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu:$LD_LIBRARY_PATH --action_env=PATH=/usr/local/cuda/bin:$PATH --test_output=all $(BAZELOPT) //... --config=test --spawn_strategy=local --color=yes

bazel-clean: bazel-install
bazel clean --expunge
Expand Down

0 comments on commit 30817b6

Please sign in to comment.