Skip to content

Commit 4e9ba5a

Browse files
committed
Merge branch 'gold/2021' into release0.13
2 parents 659ce59 + 2494fbd commit 4e9ba5a

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

conda-recipe/bld.bat

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,14 @@ if errorlevel 1 exit 1
44
REM conda uses %ERRORLEVEL% but FPGA scripts can set it. So it should be reseted.
55
set ERRORLEVEL=
66

7+
echo on
8+
79
%PYTHON% setup.py install --single-version-externally-managed --record=record.txt
10+
11+
rem Build wheel package
12+
if NOT "%WHEELS_OUTPUT_FOLDER%"=="" (
13+
%PYTHON% setup.py bdist_wheel
14+
if errorlevel 1 exit 1
15+
copy dist\numba_dppy*.whl %WHEELS_OUTPUT_FOLDER%
16+
if errorlevel 1 exit 1
17+
)

conda-recipe/build.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,14 @@ else
88
fi
99

1010
${PYTHON} setup.py install --single-version-externally-managed --record=record.txt
11+
12+
# Build wheel package
13+
if [ "$CONDA_PY" == "36" ]; then
14+
WHEELS_BUILD_ARGS="-p manylinux1_x86_64"
15+
else
16+
WHEELS_BUILD_ARGS="-p manylinux2014_x86_64"
17+
fi
18+
if [ -n "${WHEELS_OUTPUT_FOLDER}" ]; then
19+
$PYTHON setup.py bdist_wheel ${WHEELS_BUILD_ARGS}
20+
cp dist/numba_dppy*.whl ${WHEELS_OUTPUT_FOLDER}
21+
fi

0 commit comments

Comments
 (0)