Skip to content

Commit

Permalink
Merge IB/CMSSW_11_1_X/master into IB/CMSSW_11_1_X/rootmaster.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsbuild committed Mar 17, 2020
2 parents 5310341 + 7346093 commit 7174a44
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmssw-tool-conf.spec
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ Requires: ittnotify-toolfile
Requires: jemalloc-toolfile
Requires: jemalloc-debug-toolfile
Requires: jimmy-toolfile
Requires: json-toolfile
Requires: ktjet-toolfile
Requires: lhapdf-toolfile
Requires: libhepml-toolfile
Expand Down
19 changes: 19 additions & 0 deletions json-toolfile.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### RPM external json-toolfile 1.0
Requires: json

%prep

%build

%install
mkdir -p %i/etc/scram.d
cat << \EOF_TOOLFILE > %i/etc/scram.d/json.xml
<tool name="json" version="@TOOL_VERSION@">
<client>
<environment name="JSON_BASE" default="@TOOL_ROOT@"/>
<environment name="INCLUDE" default="$JSON_BASE/include"/>
</client>
</tool>
EOF_TOOLFILE

## IMPORT scram-tools-post
16 changes: 16 additions & 0 deletions json.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
### RPM external json 3.7.3
## NOCOMPILER

Source: https://github.com/nlohmann/%{n}/releases/download/v%{realversion}/include.zip

%prep
%setup -c

%build

%install
mkdir -p %{i}/include/nlohmann
cp -a include/nlohmann/json_fwd.hpp %{i}/include/nlohmann/
cp -a single_include/nlohmann/json.hpp %{i}/include/nlohmann/

%post

0 comments on commit 7174a44

Please sign in to comment.