Skip to content

Commit

Permalink
GH-426 - Genericize install location and add more detailed instructions.
Browse files Browse the repository at this point in the history
  • Loading branch information
oschwaldp-oci committed Jun 23, 2022
1 parent b955a8b commit 2d05d35
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,17 @@ We support the following CMake options:

I highly recommend the ccache options. They don't speed up the first clean build, but they speed up future clean builds after the first build.

### Installing for use with mandel.cdt (or others)
### Installing mandel dev for use with mandel.cdt (or others)

The following instructions will install mandel and the development packages. Installing is not strictly necessary. Instructions are provided, for example, in `mandel.cdt` for development and testing against a `mandel` source build directory (which may be preferable).

**Warning:** It is highly recommended to select a `CMAKE_INSTALL_PREFIX` location different than the default `/usr/local`. Here, `$HOME/mandeldev` is used as an example that should be safe for most dev systems, but each developer should determine if another location is better suited to their specific needs.

```
git submodule update --init --recursive
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=/usr/local ..
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=$HOME/mandeldev ..
make -j $(nproc) dev-install
```

Expand Down

0 comments on commit 2d05d35

Please sign in to comment.