docs/src/install.md

changeset 760
52e49533e7b4
parent 737
b3b113eac3b8
child 806
e06249e09f99
equal deleted inserted replaced
759:475335643af4 760:52e49533e7b4
1 --- 1 ---
2 title: Build Instructions 2 title: Build Instructions
3 --- 3 ---
4 4
5 The build processes uses CMake starting with UCX 3.0. 5 The build processes uses configure and make.
6 First, download the source code from [Source Forge][1]. 6 First, download the source code from [Source Forge][1].
7 7
8 wget https://sourceforge.net/projects/ucx/files/ucx-latest.tar.gz 8 wget https://sourceforge.net/projects/ucx/files/ucx-latest.tar.gz
9 tar -xzf ucx-latest.tar.gz 9 tar -xzf ucx-latest.tar.gz
10 cd ucx-latest 10 cd ucx-latest
11
12 Then create a build directory and use cmake to create the build files,
13 execute the build, and - optionally - install the files.
14 11
15 mkdir build 12 Then execute ./configure with the options you like. You can get a list of
16 cd build 13 all available options with ./configure --help. The recommended configuration
17 cmake .. 14 for production builds is ./configure --release.
18 cmake --build . 15
19 sudo cmake --install . 16 ./configure --release
17 make
18 make check # only available when built with tests
19 sudo make install
20 20
21 When compiling UCX 3, you can tweak the buffer sizes for small-buffer-optimization. 21 When compiling UCX 3, you can tweak the buffer sizes for small-buffer-optimization.
22 You can do this, be pre-defining one or more of the following macros: 22 You can do this, be pre-defining one or more of the following macros:
23 23
24 --------------------------------- --------------------------------------------------------------------- ---------- 24 --------------------------------- --------------------------------------------------------------------- ----------

mercurial