-
Notifications
You must be signed in to change notification settings - Fork 184
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 #5524 from cms-sw/backport-IB_CMSSW_11_1_X_master-…
…5505 LLVM to 9.0.1
- Loading branch information
Showing
7 changed files
with
27 additions
and
225 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
Requires: llvm py2-wheel py2-enum34 | ||
Patch0: py2-llvmlite-fpic-flag | ||
Patch1: py2-llvmlite-llvm9 | ||
|
||
%define source0 git+https://github.com/numba/llvmlite?obj=master/6435ea21f73dbf909a0418ed16375361e40d9892&export=llvmlite-%{realversion}&output=/source.tar.gz | ||
%define PipPreBuild export LLVM_CONFIG=${LLVM_ROOT}/bin/llvm-config |
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,12 @@ | ||
diff -Naur a/ffi/build.py b/ffi/build.py | ||
--- a/ffi/build.py 2020-01-10 14:51:38.000000000 +0100 | ||
+++ b/ffi/build.py 2020-01-10 14:45:27.059843040 +0100 | ||
@@ -110,7 +110,7 @@ | ||
out = out.decode('latin1') | ||
print(out) | ||
if not (out.startswith('8.0.') or out.startswith('7.0.') | ||
- or out.startswith('7.1.')): | ||
+ or out.startswith('7.1.') or out.startswith('9.0.')): | ||
msg = ( | ||
"Building llvmlite requires LLVM 7.0.x, 7.1.x or 8.0.x Be sure to " | ||
"set LLVM_CONFIG to the right executable path.\n" |