Skip to content

Commit

Permalink
Self-review updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
bdice committed Jan 10, 2024
1 parent 86c12b0 commit e395176
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 28 deletions.
6 changes: 2 additions & 4 deletions ci/build_wheel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ RAPIDS_PY_CUDA_SUFFIX="$(rapids-wheel-ctk-name-gen ${RAPIDS_CUDA_VERSION})"
# everywhere except in the final wheel name.
PACKAGE_CUDA_SUFFIX="-${RAPIDS_PY_CUDA_SUFFIX}"

# Patch project metadata files to include the CUDA version suffix and version override.
pyproject_file="${package_dir}/pyproject.toml"

sed -i "s/^name = \"${package_name}\"/name = \"${package_name}${PACKAGE_CUDA_SUFFIX}\"/g" ${pyproject_file}
# Patch project metadata files to include the CUDA version suffix.
sed -i "s/^name = \"${package_name}\"/name = \"${package_name}${PACKAGE_CUDA_SUFFIX}\"/g" pyproject.toml

rapids-logger "Build wheel"
mkdir -p ./dist
Expand Down
2 changes: 1 addition & 1 deletion ci/test_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ set +u
conda activate test
set -u

#PYTHON_CHANNEL=$(rapids-download-conda-from-s3 python)
PYTHON_CHANNEL=$(rapids-download-conda-from-s3 python)
RAPIDS_TESTS_DIR=${RAPIDS_TESTS_DIR:-"${PWD}/test-results"}/
mkdir -p "${RAPIDS_TESTS_DIR}"

Expand Down
4 changes: 2 additions & 2 deletions conda/recipes/pynvjitlink/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ cxx_compiler_version:
cuda_compiler:
- cuda-nvcc

cuda_version:
- "=12.2"
cuda_compiler_version:
- 12
23 changes: 2 additions & 21 deletions conda/recipes/pynvjitlink/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ requirements:
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('cuda') }}
- cuda-version {{ cuda_version }}
- cuda-version {{ cuda_compiler_version }}
- cmake >=3.26.4
- ninja
- sysroot_{{ target_platform }} 2.17
host:
- libnvjitlink-dev
- libnvjitlink-static
- cuda-version {{ cuda_version }}
- cuda-version {{ cuda_compiler_version }}
- python
- pip
- scikit-build-core
Expand All @@ -34,25 +34,6 @@ requirements:
- numba >=0.57
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}

#test:
# #imports:
# # - pynvjitlink
# source_files:
# - pynvjitlink/tests/test_patch.py
# - pynvjitlink/tests/test_pynvjitlink.py
# - pynvjitlink/tests/test_pynvjitlink_api.py
# - test_binary_generation/*
# requires:
# - {{ compiler('c') }}
# - {{ compiler('cxx') }}
# - {{ compiler('cuda') }}
# - cuda-version ={{ cuda_version }}
# - make
# - pytest
# commands:
# - pushd test_binary_generation && make && popd
# - pytest -v

about:
home: https://rapids.ai/
dev_url: https://github.com/rapidsai/pynvjitlink
Expand Down

0 comments on commit e395176

Please sign in to comment.