-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2,213 changed files
with
1,030,838 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,41 +9,40 @@ What you need | |
|
||
- **CMake > 3.18.0** | ||
|
||
- **C++14 compiler**: `our CI <https://github.com/Pressio/pressio-tutorials/blob/develop/.github/workflows/test-all.yml>`__ is currently testing both GCC and Clang | ||
- **C++17 compiler**: GCC or Clang are tested in our CI | ||
|
||
- Python 3.x with specific packages listed `here <../../py_requirements.txt>`__ | ||
- Python 3.x | ||
|
||
Steps | ||
----- | ||
|
||
.. code-block:: bash | ||
git clone --recursive [email protected]:Pressio/pressio-tutorials.git | ||
git clone [email protected]:Pressio/pressio-tutorials.git | ||
export CXX=<fullpath-to-your-CXX-compiler> | ||
export BUILDDIR=$HOME/tutorialBuild | ||
mkdir $BUILDDIR | ||
cmake -DCMAKE_BUILD_TYPE=Release -S <path-to-your-cloned-repo> -B $BUILDDIR | ||
cmake -DPRESSIOTUTORIALS_ENABLE_TESTS=ON \ | ||
-DCMAKE_BUILD_TYPE=Release -S <path-to-your-cloned-repo> -B $BUILDDIR | ||
cd $BUILDDIR && make -j4 | ||
# if needed, the Python packages can be installed as | ||
# ensure you have all required Python packages installed | ||
pip3 install <path-to-your-cloned-repo>/py_requirements.txt | ||
Then what? | ||
---------- | ||
|
||
Individual executables and the end-to-end demos can be found inside the build directory. | ||
Verify the build | ||
---------------- | ||
|
||
.. tip:: | ||
.. code-block:: cpp | ||
If you want to verify the build, you can enable tests via ``-DPRESSIOTUTORIALS_ENABLE_TESTS=ON``, | ||
and then do: | ||
cd $BUIlDDIR | ||
ctest | ||
.. code-block:: cpp | ||
Then what? | ||
---------- | ||
|
||
cd $BUIlDDIR | ||
ctest | ||
Individual executables and the end-to-end demos can be found inside the build directory. | ||
|
||
|
||
More details on dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.