Skip to content

Commit 8c4eb96

Browse files
committed
README: Add configure options
Explain some common configure options Signed-off-by: Shi Jin <sjina@amazon.com>
1 parent ebd003a commit 8c4eb96

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

README

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,53 @@ To install from a libfabric source package run the following commands:
7979
If building directly from the libfabric git tree, run './autogen.sh'
8080
before the configure step.
8181

82+
Configure Options
83+
-----------------
84+
The configure script has many built-in options (see './configure --help').
85+
Some useful options are:
86+
87+
--prefix=<directory>
88+
By default 'make install' will place the files in the '/usr' tree.
89+
The '--prefix' option specifies that libfabric files should be
90+
installed into the tree specified by named <directory>.
91+
92+
--with-cuda[=DIR]
93+
Enable CUDA build and fail if not found. Optional=<Path to where the
94+
CUDA libraries and headers are installed.> This enables CUDA memory
95+
support for heterogeneous memory (HMEM) operations.
96+
97+
--with-rocr[=DIR]
98+
Enable ROCR/HSA build and fail if not found. Optional=<Path to where
99+
the ROCR/HSA libraries and headers are installed.> This enables ROCr
100+
memory support for heterogeneous memory (HMEM) operations.
101+
102+
--with-neuron[=DIR]
103+
Enable Neuron build and fail if not found. Optional=<Path to where the
104+
Neuron libraries and headers are installed.> This enables Neuron memory
105+
support for heterogeneous memory (HMEM) operations.
106+
107+
--with-synapseai[=DIR]
108+
Enable SynapseAI build and fail if not found. Optional=<Path to where
109+
the SynapseAI libraries and headers are installed.> This enables
110+
SynapseAI memory support for heterogeneous memory (HMEM) operations.
111+
112+
--with-ze[=DIR]
113+
Enable ZE build and fail if not found. Optional=<Path to where the ZE
114+
libraries and headers are installed.> This enables Intel GPU memory
115+
support for heterogeneous memory (HMEM) operations.
116+
117+
--enable-cuda-dlopen
118+
Enable dlopen of CUDA libraries [default=no]. This allows building
119+
binaries that can run on systems with or without CUDA runtime.
120+
121+
--enable-rocr-dlopen
122+
Enable dlopen of ROCR libraries [default=no]. This allows building
123+
binaries that can run on systems with or without ROCR runtime.
124+
125+
--enable-ze-dlopen
126+
Enable dlopen of ZE libraries [default=no]. This allows building
127+
binaries that can run on systems with or without ZE runtime.
128+
82129
Windows
83130
=======
84131
Please find Windows specific instructions in docs/windows.txt file

0 commit comments

Comments
 (0)