Skip to content

Commit

Permalink
Passing USE_CUDA and USE_OPENMP to cmake in build-legate-wheel.
Browse files Browse the repository at this point in the history
  • Loading branch information
sandeepd-nv committed Nov 1, 2023
1 parent 23c523f commit 7bd54f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions continuous_integration/scripts/build-legate
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

. conda-utils;

export CONDA_BUILD_THREADS=1
export JOBS=1
# export CONDA_BUILD_THREADS=1
# export JOBS=1

build_legate_ci() {
build-legate-cpp;
Expand Down
5 changes: 4 additions & 1 deletion continuous_integration/scripts/build-legate-wheel
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

build_legate_wheel() {
set -euo pipefail;
set -xeuo pipefail;

rm -rf $BASE_DIR/_skbuild;

Expand All @@ -22,6 +22,9 @@ build_legate_wheel() {
local cmake_args=(${CMAKE_ARGS:-});
cmake_args+=("-DFIND_LEGATE_CORE_CPP=ON");
cmake_args+=("-Dlegate_core_ROOT=$BASE_DIR/legate/build");
cmake_args+=("-DLegion_USE_CUDA=${USE_CUDA:-OFF}");
cmake_args+=("-DLegion_USE_OpenMP=${USE_OPENMP:-OFF}");


# Build + package legate.core Python wheel
time CMAKE_GENERATOR="Ninja" \
Expand Down

0 comments on commit 7bd54f0

Please sign in to comment.