Skip to content

Commit 6c0a764

Browse files
committed
build updates
1 parent ed4461f commit 6c0a764

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

conda/build.sh

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
#!/bin/bash -ex
2-
CFLAGS="-I$PREFIX/include -Wno-int-in-bool-context -mtune=generic $CFLAGS"
3-
CXXFLAGS="-Wno-int-in-bool-context -I$PREFIX/include -mtune=generic $CXXFLAGS"
4-
LDFLAGS="-L$PREFIX/lib $LDFLAGS"
5-
PATH="$PREFIX/bin:$PATH"
6-
LDSHARED=$(python -c "import sys;from distutils import sysconfig;lds = sysconfig.get_config_var('LDSHARED').split(' ');print(' '.join(['$GCC'] + lds[1:]))")
7-
export CFLAGS CXXFLAGS LDFLAGS PATH LDSHARED
8-
$PYTHON setup.py install --single-version-externally-managed --record=/dev/null
2+
export CFLAGS="-I$PREFIX/include $CFLAGS"
3+
python setup.py install --single-version-externally-managed --record=/dev/null

conda/meta.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ source:
1010

1111
requirements:
1212
build:
13-
- python {{ python }}
1413
- {{ compiler('cxx') }}
14+
host:
15+
- python {{ python }}
1516
- git >=2.9.3
1617
- cython >=0.25
1718
- setuptools >=33.1

0 commit comments

Comments
 (0)