Skip to content

Commit

Permalink
Merge pull request #23 from SC-SGS/update-install-methods
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
G-071 authored Aug 31, 2023
2 parents 377ee35 + 649ce55 commit 2ea4e63
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ The submodules can be used to obtain the optional dependencies which are require

#### Build / Install

Basic build
- Spack package
A spack package for CPPuddle is available in the [octotiger-spack repository](https://github.com/G-071/octotiger-spack)

- Basic CMake build

```
cmake -H/path/to/source -B$/path/to/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/path/to/install/cppuddle -DCPPUDDLE_WITH_TESTS=OFF -DCPPUDDLE_WITH_COUNTERS=OFF
Expand All @@ -39,7 +42,7 @@ If installed correctly, CPPuddle can be used in other CMake-based projects via
find_package(CPPuddle REQUIRED)
```

Recommended build:
- Recommended CMake build:
```
cmake -H/path/to/source -B$/path/to/build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/path/to/install/cppuddle -DCPPUDDLE_WITH_HPX=ON -DCPPUDDLE_WITH_HPX_AWARE_ALLOCATORS=ON -DCPPUDDLE_WITH_TESTS=OFF -DCPPUDDLE_WITH_COUNTERS=OFF
```
Expand Down

0 comments on commit 2ea4e63

Please sign in to comment.