-
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 pull request #7809 from fwyzard/IB/CMSSW_12_4_X/master_UCX_updates
Update UCX to version 1.12.1
- Loading branch information
Showing
3 changed files
with
65 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<tool name="xpmem" version="@TOOL_VERSION@"> | ||
<lib name="xpmem"/> | ||
<client> | ||
<environment name="XPMEM_BASE" default="@TOOL_ROOT@"/> | ||
<environment name="INCLUDE" default="$XPMEM_BASE/include"/> | ||
<environment name="LIBDIR" default="$XPMEM_BASE/lib"/> | ||
</client> | ||
</tool> |
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,35 @@ | ||
### RPM external xpmem v2.6.3-20220308 | ||
%define commit 61c39efdea943ac863037d7e35b236145904e64d | ||
|
||
BuildRequires: autotools | ||
Source: https://github.com/hjelmn/%{n}/archive/%{commit}.tar.gz | ||
|
||
%prep | ||
%setup -n %{n}-%{commit} | ||
|
||
./autogen.sh | ||
./configure \ | ||
--prefix=%{i} \ | ||
--enable-shared \ | ||
--disable-static \ | ||
--disable-dependency-tracking \ | ||
--disable-kernel-module \ | ||
--with-pic \ | ||
--with-gnu-ld | ||
|
||
%build | ||
make %{makeprocesses} | ||
|
||
%install | ||
make install | ||
|
||
# remove kernel module rules | ||
rm -rf %{i}/etc | ||
|
||
# remove the libtool library files | ||
rm -f %{i}/lib/lib*.la | ||
|
||
# remove pkg-config to avoid rpm-generated dependency on /usr/bin/pkg-config | ||
rm -rf %{i}/lib/pkgconfig | ||
|
||
%post |