-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge IB/CMSSW_12_3_X/master into IB/CMSSW_12_3_X/rootmaster.
- Loading branch information
Showing
20 changed files
with
85 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
Requires: py3-smmap2 py3-gitdb | ||
Requires: py3-gitdb py3-typing-extensions |
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 @@ | ||
Requires: py3-cffi |
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 +1 @@ | ||
Requires: py3-scipy | ||
Requires: py3-scipy py3-six |
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 @@ | ||
Requires: py3-python-dateutil |
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,2 @@ | ||
%define patchsrc0 sed -i -e 's|name="CacheControl"|name="cachecontrol"|' setup.py | ||
Requires: py3-setuptools py3-msgpack py3-requests |
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,3 +1,3 @@ | ||
Requires: py3-pybind11 py3-numpy py3-pydantic py3-python-rapidjson py3-rich | ||
BuildRequires: py3-setuptools-scm py3-scikit-build cmake | ||
BuildRequires: py3-setuptools-scm py3-scikit-build cmake py3-make | ||
%define PipPreBuildPy export CMAKE_BUILD_PARALLEL_LEVEL=%{compiling_processes} |
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,3 @@ | ||
%define PipPreBuild export CARGO_HOME=%{_tmppath}/cargo_home | ||
BuildRequires: rust | ||
Requires: py3-setuptools-rust py3-cffi |
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 @@ | ||
Requires: py3-wrapt |
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 @@ | ||
Requires: py3-flit-core |
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 @@ | ||
Requires: py3-arrow py3-Jinja2 |
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 @@ | ||
Requires: py3-setuptools-scm py3-importlib-metadata py3-secretstorage py3-jeepney |
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 @@ | ||
%define tag ce2ef5834837a35dba5f2bea8866b61c8907c83a | ||
%define branch master | ||
%define github_user fholmer | ||
%define source0 git+https://github.com/%{github_user}/make.git?obj=%{branch}/%{tag}&export=make-%{realversion}&output=/source.tar.gz | ||
|
||
Requires: py3-Jinja2 py3-jinja2-time |
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 +1,2 @@ | ||
%define source0 https://github.com/dgasmith/opt_einsum/archive/v%{realversion}.tar.gz | ||
Requires: py3-numpy |
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 @@ | ||
Requires: py3-deprecated py3-PyJWT py3-PyNaCl py3-requests |
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 @@ | ||
Requires: py3-cryptography py3-jeepney |
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,2 @@ | ||
BuildRequires: rust | ||
Requires: py3-setuptools-scm py3-semantic-version py3-toml py3-typing-extensions |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
### RPM external rust 1.57.0 | ||
%ifarch ppc64le | ||
%define build_arch powerpc64le-unknown-linux-gnu | ||
%else | ||
%define build_arch %{_arch}-unknown-linux-gnu | ||
%endif | ||
%define github_user rust-lang | ||
%define branch master | ||
%define tag %{realversion} | ||
Source: git+https://github.com/%{github_user}/%{n}.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&submodules=1&output=/%{n}-%{realversion}.tgz | ||
BuildRequires: python3 | ||
Requires: llvm | ||
|
||
%prep | ||
%setup -n %{n}-%{realversion} | ||
|
||
%build | ||
cat << EOF > config.toml | ||
[llvm] | ||
link-shared = true | ||
[build] | ||
docs = false | ||
build = "%{build_arch}" | ||
extended = true | ||
[install] | ||
prefix = "%i" | ||
sysconfdir = "etc" | ||
[rust] | ||
channel = "stable" | ||
rpath = false | ||
codegen-tests = false | ||
[target.%{build_arch}] | ||
llvm-config = "${LLVM_ROOT}/bin/llvm-config" | ||
EOF | ||
|
||
mkdir -p %{_tmppath}/cargo_home | ||
export CARGO_HOME=%{_tmppath}/cargo_home | ||
python3 ./x.py build -vv --exclude src/tools/miri %{makeprocesses} | ||
|
||
%install | ||
export CARGO_HOME=%{_tmppath}/cargo_home | ||
export RUSTUP_HOME=%{i} | ||
python3 ./x.py install -vv --exclude src/tools/miri %{makeprocesses} | ||
chmod 0755 %i/lib//librustc_driver*.so |