Skip to content

Commit e022f80

Browse files
ENH: Migrate recipe to v1 format for rattler-build
1 parent 624ab39 commit e022f80

6 files changed

Lines changed: 266 additions & 222 deletions

File tree

conda-forge.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ build_platform:
1010
linux_ppc64le: linux_64
1111
conda_build:
1212
pkg_format: '2'
13+
conda_build_tool: rattler-build
1314
conda_forge_output_validation: true
15+
conda_install_tool: pixi
1416
github:
1517
branch_name: main
1618
tooling_branch_name: main

recipe/build_output.bat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
set "CUDA_HOME=%PREFIX%\\%SUBDIR%"
2+
set "LIB=%PREFIX%\\%SUBDIR%\\lib\\%TARGET_NAME%;%LIB%"
3+
14
set DIR_NAME=%PKG_NAME:-=_%
25
cd %DIR_NAME%
36
if "%DIR_NAME%"=="cuda_python" (

recipe/build_output.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/bash
22

3+
export CUDA_HOME="${PREFIX}/${SUBDIR}"
4+
35
DIR_NAME="$(echo $PKG_NAME | tr '-' '_')"
46
cd $DIR_NAME
57
if [[ ${DIR_NAME} == "cuda_python" || ${DIR_NAME} == "cuda_bindings" ]]; then

recipe/conda_build_config.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

recipe/meta.yaml

Lines changed: 0 additions & 217 deletions
This file was deleted.

0 commit comments

Comments
 (0)