Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2980 from davidlange6/numba
add several python analysis tools
- Loading branch information
Showing
6 changed files
with
50 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff -Naur orig/ffi/Makefile.linux llvmlite-0.15.0/ffi/Makefile.linux | ||
--- orig/ffi/Makefile.linux 2017-04-21 18:12:05.000000000 +0200 | ||
+++ llvmlite-0.15.0/ffi/Makefile.linux 2017-04-21 18:12:34.000000000 +0200 | ||
@@ -18,8 +18,8 @@ | ||
|
||
$(OUTPUT): $(SRC) $(INCLUDE) | ||
# static-libstdc++ avoids runtime dependencies on a | ||
- # particular libstdc++ version. | ||
- $(CXX) -static-libstdc++ -shared $(CXXFLAGS) $(SRC) -o $(OUTPUT) $(LDFLAGS) $(LIBS) | ||
+ # particular libstdc++ version. (but doesnt work for us) | ||
+ $(CXX) -shared $(CXXFLAGS) $(SRC) -o $(OUTPUT) $(LDFLAGS) $(LIBS) | ||
|
||
clean: | ||
rm -rf test $(OUTPUT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### RPM external py2-llvmlite 0.15.0 | ||
## INITENV +PATH PYTHONPATH %{i}/${PYTHON_LIB_SITE_PACKAGES} | ||
Patch0: py2-llvmlite-static | ||
|
||
%define pip_name llvmlite | ||
Requires: py2-enum34 | ||
Requires: llvm | ||
|
||
%define PipPreBuild export LLVM_CONFIG=${LLVM_ROOT}/bin/llvm-config && tar -xzf llvmlite-%{realversion}.tar.gz && pushd llvmlite-%{realversion} && for pch in %{patches} ; do patch -p1 < ${pch} ; done && popd && rm -f llvmlite-%{realversion}.tar.gz && tar czf llvmlite-%{realversion}.tar.gz llvmlite-%{realversion} | ||
|
||
## IMPORT build-with-pip | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
### RPM external py2-numba 0.32.0 | ||
## INITENV +PATH PYTHONPATH %{i}/${PYTHON_LIB_SITE_PACKAGES} | ||
|
||
|
||
%define pip_name numba | ||
Requires: py2-funcsigs py2-enum34 py2-six py2-singledispatch py2-llvmlite py2-numpy | ||
|
||
## IMPORT build-with-pip | ||
|
||
%define PipPostBuild perl -p -i -e "s|^#!.*python|#!/usr/bin/env python|" %{i}/bin/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
### RPM external py2-xrootdpyfs 0.1.3 | ||
## INITENV +PATH PYTHONPATH %{i}/${PYTHON_LIB_SITE_PACKAGES} | ||
|
||
Requires: xrootd | ||
|
||
## IMPORT build-with-pip |