docs/src/install.md

Sat, 22 Apr 2023 14:21:02 +0200

author
Mike Becker <universe@uap-core.de>
date
Sat, 22 Apr 2023 14:21:02 +0200
changeset 699
35b2b99ee523
parent 390
d345541018fa
child 721
b79340dee0b4
permissions
-rw-r--r--

make list find return a negative value when elem not found

---
title: Build Instructions
---

The build processes uses CMake starting with UCX 3.0.
First, download the source code from [Source Forge][1].

    wget https://sourceforge.net/projects/ucx/files/ucx-latest.tar.gz
    tar -xzf ucx-latest.tar.gz
    cd ucx-latest
    
Then create a build directory and issue the cmake command and then make.

    mkdir build
    cd build
    cmake ..
    make

---

### UCX 2.1

The build procedure for UCX 2.1 uses a configure script.
For Microsoft Windows, you will need an appropriate port of the linux
tools (like MinGW or Cygwin).
First, download the source code from [Source Forge][1].

    wget https://sourceforge.net/projects/ucx/files/ucx-2.1.0.tar.gz
    tar -xzf ucx-2.1.0.tar.gz
    cd ucx-2.1.0

Then issue the `configure` and `make` commands.

    ./configure && make

To verify your installment you can issue `make check`. If everything is fine,
you can install UCX with

    make install
    
Note, that you might need administrative privileges for a system wide
installation.

[1]: https://sourceforge.net/projects/ucx/files/

mercurial