Skip to content

Commit

Permalink
add bazel build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Nineteen authored and rhdong committed Sep 22, 2023
1 parent 433eff8 commit 4f7565c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions .bazeliskrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
USE_BAZEL_VERSION=5.3.1
7 changes: 7 additions & 0 deletions bazel_build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# Usage : `./bazel_build.sh` or `bash bazel_build.sh`
set -e
export $(cat .bazeliskrc | xargs)

bazel build --config=cuda //...

0 comments on commit 4f7565c

Please sign in to comment.