Skip to content

Commit 764d494

Browse files
updating build scripts to set MKLROOT variable
1 parent 329b292 commit 764d494

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

conda-recipe/bld.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
@rem Remember to source the compiler
22

3+
set MKLROOT=%CONDA_PREFIX%
34
%PYTHON% setup.py install --old-and-unmanageable
45
if errorlevel 1 exit 1

conda-recipe/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/bash -x
22

33
export CFLAGS="-I$PREFIX/include $CFLAGS"
4-
$PYTHON setup.py install --old-and-unmanageable
4+
MKLROOT=$CONDA_PREFIX $PYTHON setup.py install --old-and-unmanageable

conda-recipe/meta.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,7 @@ source:
1414

1515
build:
1616
number: {{buildnumber}}
17-
skip: True # [win and py27]
18-
always_include_files:
19-
- {{ SP_DIR.replace('\\', '/') if win else SP_DIR }}/mkl_random/__init__.py
20-
- {{ SP_DIR.replace('\\', '/') if win else SP_DIR }}/mkl_random/mklrand.*
21-
- {{ SP_DIR.replace('\\', '/') if win else SP_DIR }}/mkl_random/setup.py
22-
- {{ SP_DIR.replace('\\', '/') if win else SP_DIR }}/mkl_random/tests/test_random.py
23-
- {{ SP_DIR.replace('\\', '/') if win else SP_DIR }}/mkl_random/tests/test_regressions.py
24-
- {{ SP_DIR.replace('\\', '/') if win else SP_DIR }}/mkl_random/__pycache__/*
25-
- {{ SP_DIR.replace('\\', '/') if win else SP_DIR }}/mkl_random/tests/__pycache__/*
17+
2618

2719
requirements:
2820
build:

0 commit comments

Comments
 (0)