Skip to content

Commit 9aaa21f

Browse files
ship makefile, find and build tests
1 parent dccd6db commit 9aaa21f

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

ci/build_tests.sh

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
# Copyright (c) 2024, NVIDIA CORPORATION
3+
4+
PY_SCRIPT="
5+
import numba_cuda
6+
root = numba_cuda.__file__.rstrip('__init__.py')
7+
test_dir = root + numba/cuda/tests/test_binary_generation/
8+
print(test_dir)
9+
"
10+
11+
TEST_DIR=$(python -c "$PY_SCRIPT")
12+
pushd $TEST_DIR
13+
make
14+
popd

ci/test_conda.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ if [ "$USE_PYNVJITLINK" == true ]; then
5858
set +u
5959
conda install -c rapidsai pynvjitlink
6060
set -u
61+
sh build_tests.sh
6162
fi
6263

6364
rapids-logger "Run Tests"

ci/test_wheel.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ python -m pip install \
1919
if [ "$USE_PYNVJITLINK" == true ]; then
2020
rapids-logger "Install pynvjitlink"
2121
python -m pip install pynvjitlink-cu12
22+
sh build_tests.sh
2223
fi
2324

2425
rapids-logger "Install wheel"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ license-files = ["LICENSE"]
3636
include = ["numba_cuda*"]
3737

3838
[tool.setuptools.package-data]
39-
"*" = ["*.cu", "*.h", "*.hpp", "*.ptx", "VERSION"]
39+
"*" = ["*.cu", "*.h", "*.hpp", "*.ptx", "VERSION", "Makefile"]

0 commit comments

Comments
 (0)