File tree Expand file tree Collapse file tree 3 files changed +88
-0
lines changed
scram-tools.file/tools/libfabric Expand file tree Collapse file tree 3 files changed +88
-0
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,7 @@ Requires: numactl
7878Requires: hwloc
7979Requires: rdma-core
8080Requires: ucx
81+ Requires: libfabric
8182Requires: openmpi
8283Requires: sigcpp
8384Requires: sqlite
Original file line number Diff line number Diff line change 1+ ### RPM external libfabric 2.1.0
2+ Source: https://github.com/ofiwg/%{n }/releases/download/v%{realversion }/%{n }-%{realversion }.tar.bz2
3+ %{! ?without_cuda:Requires: cuda gdrcopy}
4+ %{! ?without_rocm:Requires: rocm}
5+ Requires: curl
6+ Requires: numactl
7+ Requires: rdma-core
8+ Requires: xpmem
9+
10+ %prep
11+ %setup -q -n %{n }-%{realversion }
12+
13+ # regenerate the configure files and Makefiles
14+ ./autogen.sh
15+
16+ ./configure \
17+ --prefix= %i \
18+ --disable-dependency-tracking \
19+ --disable-debug \
20+ --disable-profile \
21+ --disable-asan \
22+ --disable-lsan \
23+ --disable-tsan \
24+ --disable-ubsan \
25+ --enable-shared \
26+ --disable-static \
27+ --enable-shm \
28+ --enable-sm2 \
29+ --enable-xpmem= $XPMEM_ROOT \
30+ --disable-sockets \
31+ --enable-tcp \
32+ --enable-udp \
33+ --enable-verbs= $RDMA_CORE_ROOT \
34+ --disable-opx \
35+ --disable-psm2 \
36+ --disable-psm3 \
37+ --disable-usnic \
38+ --disable-efa \
39+ --disable-cxi \
40+ --disable-mrail \
41+ --disable-lpp \
42+ --disable-ucx \
43+ --enable-rxm \
44+ --enable-lnx \
45+ %if 0%{!?without_cuda:1 }
46+ --enable-cuda-dlopen \
47+ --enable-gdrcopy-dlopen \
48+ --with-cuda= $CUDA_ROOT \
49+ --with-gdrcopy= $GDRCOPY_ROOT \
50+ %else
51+ --disable-cuda-dlopen \
52+ --disable-gdrcopy-dlopen \
53+ --without-cuda \
54+ --without-gdrcopy \
55+ %endif
56+ %if 0%{!?without_rocm:1 }
57+ --enable-rocr-dlopen \
58+ --with-rocr= $ROCM_ROOT \
59+ %else
60+ --disable-rocr-dlopen \
61+ --without-rocr \
62+ %endif
63+ --disable-ze-dlopen \
64+ --without-ze \
65+ --with-pic \
66+ --with-dlopen \
67+ --with-gnu-ld \
68+ --with-curl= DIR \
69+ --with-numa= $NUMACTL_ROOT
70+
71+ # CFLAGS="-Wno-error=array-bounds"
72+
73+ %build
74+ make %{makeprocesses }
75+
76+ %install
77+ make install
78+
79+ %post
Original file line number Diff line number Diff line change 1+ <tool name =" libfabric" version =" @TOOL_VERSION@" revision =" 1" >
2+ <lib name =" fabric" />
3+ <client >
4+ <environment name =" LIBFABRIC_BASE" default =" @TOOL_ROOT@" />
5+ <environment name =" LIBDIR" default =" $LIBFABRIC_BASE/lib" />
6+ <environment name =" INCLUDE" default =" $LIBFABRIC_BASE/include" />
7+ </client >
8+ </tool >
You can’t perform that action at this time.
0 commit comments