Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit d32e9ec

Browse files
Update wheels build + Update linux build tag for wheels (#954)
* Update wheels build + Update linux build tag for wheels * Put numba back to build deps
1 parent d8308a7 commit d32e9ec

3 files changed

Lines changed: 26 additions & 21 deletions

File tree

conda-recipe/bld.bat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@ echo on
22

33
"%PYTHON%" setup.py build install --single-version-externally-managed --record=record.txt
44
if errorlevel 1 exit 1
5+
6+
rem Build wheel package
7+
if NOT "%WHEELS_OUTPUT_FOLDER%"=="" (
8+
%PYTHON% setup.py bdist_wheel
9+
if errorlevel 1 exit 1
10+
copy dist\sdc*.whl %WHEELS_OUTPUT_FOLDER%
11+
if errorlevel 1 exit 1
12+
)

conda-recipe/build.sh

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
set -ex
22

3-
MACOSX_DEPLOYMENT_TARGET=10.9 \
3+
if [ `uname` == Darwin ]; then
4+
WHEELS_BUILD_ARGS=""
5+
export MACOSX_DEPLOYMENT_TARGET=10.9
6+
else
7+
if [ "$CONDA_PY" == "36" ]; then
8+
WHEELS_BUILD_ARGS="-p manylinux1_x86_64"
9+
else
10+
WHEELS_BUILD_ARGS="-p manylinux2014_x86_64"
11+
fi
12+
fi
13+
414
$PYTHON setup.py build install --single-version-externally-managed --record=record.txt
15+
16+
# Build wheel package
17+
if [ -n "${WHEELS_OUTPUT_FOLDER}" ]; then
18+
$PYTHON setup.py bdist_wheel ${WHEELS_BUILD_ARGS}
19+
cp dist/sdc*.whl ${WHEELS_OUTPUT_FOLDER}
20+
fi

conda-recipe/meta.yaml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ build:
1313
number: {{ GIT_DESCRIBE_NUMBER|int }}
1414
script_env:
1515
- SDC_CONFIG_PIPELINE_SDC
16+
- WHEELS_OUTPUT_FOLDER
1617

1718
requirements:
1819
build:
1920
- {{ compiler('c') }} # [not osx]
2021
- {{ compiler('cxx') }} # [not osx]
21-
- wheel
22-
- python
2322
- numba {{ NUMBA_VERSION }}
2423

2524
host:
@@ -45,24 +44,6 @@ test:
4544
imports:
4645
- sdc
4746

48-
outputs:
49-
- type: conda
50-
name: sdc
51-
- type: wheel
52-
name: sdc
53-
requirements:
54-
build:
55-
- {{ compiler('c') }} # [not osx]
56-
- {{ compiler('cxx') }} # [not osx]
57-
- python
58-
- wheel
59-
- setuptools
60-
- numba {{ NUMBA_VERSION }}
61-
- numpy
62-
- pandas {{ PANDAS_VERSION }}
63-
- pyarrow {{ PYARROW_VERSION }}
64-
- tbb-devel
65-
6647
about:
6748
home: https://github.com/IntelPython/sdc
6849
license: BSD-2-Clause

0 commit comments

Comments
 (0)