Skip to content

Commit e620410

Browse files
adding conda recipe and travis CI integration
1 parent e6f5d52 commit e620410

File tree

2 files changed

+92
-0
lines changed

2 files changed

+92
-0
lines changed

.travis.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
matrix:
2+
include:
3+
- name: "Linux-Py2"
4+
os: linux
5+
env:
6+
- MINICONDA=Miniconda2-latest-Linux-x86_64.sh
7+
- PYVER="--python=27"
8+
- name: "Linux-Py3"
9+
os: linux
10+
env:
11+
- MINICONDA=Miniconda3-latest-Linux-x86_64.sh
12+
- PYVER=""
13+
- name: "OsX-Py2"
14+
os: osx
15+
osx_image: xcode8
16+
env:
17+
- MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"
18+
- MINICONDA=Miniconda3-latest-MacOSX-x86_64.sh
19+
- MACOSX_DEPLOYMENT_TARGET="10.9"
20+
- PYVER="--python=27"
21+
- name: "OsX-Py3"
22+
os: osx
23+
osx_image: xcode8
24+
env:
25+
- MATRIX_EVAL="brew install gcc && CC=gcc-7 && CXX=g++-7"
26+
- MINICONDA=Miniconda3-latest-MacOSX-x86_64.sh
27+
- MACOSX_DEPLOYMENT_TARGET="10.9"
28+
- PYVER=""
29+
30+
install:
31+
- wget https://repo.continuum.io/miniconda/$MINICONDA -O miniconda.sh;
32+
- bash miniconda.sh -b -p $HOME/miniconda
33+
- export PATH="$HOME/miniconda/bin:$PATH"
34+
- hash -r
35+
- conda config --set always_yes yes --set changeps1 no
36+
- conda update -q conda
37+
- conda install conda-build
38+
# Useful for debugging any issues with conda
39+
- conda info -a
40+
- gcc -v
41+
- g++ -v
42+
43+
script:
44+
- conda build -c intel -c conda-forge $PYVER conda-recipe

conda-recipe/meta.yaml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{% set version = "2.0.0" %}
2+
{% set buildnumber = 0 %}
3+
4+
package:
5+
name: mkl-service
6+
version: {{ version }}
7+
8+
source:
9+
path: ..
10+
11+
build:
12+
number: {{ buildnumber }}
13+
14+
requirements:
15+
build:
16+
- {{ compiler('c') }}
17+
host:
18+
- python
19+
- setuptools
20+
- mkl-devel
21+
- cython
22+
- numpy 1.11.*
23+
run:
24+
- python
25+
- mkl
26+
- {{ pin_compatible('numpy') }}
27+
28+
test:
29+
commands:
30+
- nosetests -v mkl
31+
requires:
32+
- nose
33+
imports:
34+
- mkl
35+
36+
about:
37+
home: http://github.com/IntelPython/mkl_fft
38+
license: BSD 3-Clause
39+
license_file: LICENSE.txt
40+
description:
41+
NumPy-based implementation of Fast Fourier Transform using Intel (R) Math Kernel Library.
42+
Supports in-place and out-of-place, 1D and ND complex FFT on arrays of single and double precision
43+
with arbitrary memory layout, so long as array strides are multiples of its itemsize.
44+
summary: NumPy-based implementation of Fast Fourier Transform using Intel (R) Math Kernel Library.
45+
46+
extra:
47+
recipe-maintainers:
48+
- oleksandr-pavlyk

0 commit comments

Comments
 (0)