Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Numba #685

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions pkgs/clang.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ extends: [cmake_package]
dependencies:
build: [llvm]


sources:
- url: http://llvm.org/releases/3.4/clang-3.4.src.tar.gz
key: tar.gz:ekuxqdntxbnh6lvz5ipx63qa3ibety6r
- key: tar.xz:m5z7h6opqflddtd6o6pmcng52iunzdu2
url: http://llvm.org/releases/3.5.1/cfe-3.5.1.src.tar.xz

defaults:
# lib/libclang.so.3.4 contains hard-coded path
Expand Down
14 changes: 14 additions & 0 deletions pkgs/enum34.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
extends: [distutils_package]

dependencies:
build: []
run: []

sources:
# The proper sources should be:
#- key: tar.gz:2paz6jvgundctqmmo5pvtx6f3vmvozgh
# url: https://pypi.python.org/packages/source/e/enum34/enum34-1.0.4.tar.gz
# But they don't work due to https://github.com/hashdist/hashdist/issues/310,
# so we use this equivalent git repository:
- key: git:dc35e72a5b4c6da1f0caaab1aaa13553e481e173
url: https://github.com/certik/enum34
9 changes: 9 additions & 0 deletions pkgs/funcsigs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
extends: [setuptools_package]

dependencies:
build: []
run: []

sources:
- key: tar.gz:3a6onxylb2tgdbya7yo3gu2smoi2ri5n
url: https://pypi.python.org/packages/source/f/funcsigs/funcsigs-0.4.tar.gz
10 changes: 5 additions & 5 deletions pkgs/llvm.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
extends: [cmake_package]

sources:
- url: http://llvm.org/releases/3.4/llvm-3.4.src.tar.gz
key: tar.gz:ewswclljfreeqg43hf7cwvpuq4hei6lg
- key: tar.xz:x4zhluwxreablsgy6xtpj6ec7dhtx5iz
url: http://llvm.org/releases/3.5.1/llvm-3.5.1.src.tar.xz

defaults:
relocatable: false

build_stages:
- name: configure
extra: ['-D BUILD_SHARED_LIBS:BOOL=ON']
when_build_dependency:
- prepend_path: PATH
value: '${ARTIFACT}/bin'
8 changes: 8 additions & 0 deletions pkgs/llvmlite.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
extends: [distutils_package]
dependencies:
build: [llvm]
run: [enum34]

sources:
- key: git:317245a28a26056cb2eef48831329ed8eb76491e
url: https://github.com/numba/llvmlite
8 changes: 8 additions & 0 deletions pkgs/numba.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
extends: [distutils_package]
dependencies:
build: [llvmlite, numpy]
run: [numpy, argparse, funcsigs]

sources:
- key: git:8267aed50bf0505de0689ae3cc45faa01353e4cc
url: https://github.com/numba/numba