Skip to content

Commit b8e41d9

Browse files
committed
Build only for rapids supported architectures
1 parent 8c3b93a commit b8e41d9

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

.github/workflows/conda-python-build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ permissions:
2020

2121
env:
2222
# CUDA architectures to build for
23-
CUDAARCHS: "all-major"
23+
CUDAARCHS: "RAPIDS"
2424
# where conda-build puts files it creates
2525
RAPIDS_CONDA_BLD_OUTPUT_DIR: /tmp/conda-bld-output
2626
# where jobs that download conda packages store the local channel

.github/workflows/pr.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212

1313
env:
1414
# CUDA architectures to build for
15-
CUDAARCHS: "all-major"
15+
CUDAARCHS: "RAPIDS"
1616
# where jobs that download conda packages store the local channel
1717
RAPIDS_LOCAL_CONDA_CHANNEL: /tmp/local-conda-packages
1818

CMakeLists.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ rapids_export(INSTALL legateboost
6868
# build export targets
6969
rapids_export(BUILD legateboost
7070
EXPORT_SET legateboost-export
71-
GLOBAL_TARGETS legateboote
71+
GLOBAL_TARGETS legateboost
7272
NAMESPACE legate::)
7373

74+
rapids_cuda_init_architectures(legateboost)
75+
7476
if(SKBUILD)
7577
add_library(legateboost_python INTERFACE)
7678
# NOTE(seberg): Had a local error with the below, but not sure if it is needed:

0 commit comments

Comments
 (0)