diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 98e37594..07039393 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -41,7 +41,7 @@ You are now in a position to install xeus-cpp into this envirnoment. You can do mkdir build cd build cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_PREFIX_PATH=$CONDA_PREFIX -D CMAKE_INSTALL_PREFIX=$CONDA_PREFIX -D CMAKE_INSTALL_LIBDIR=lib .. -make +make install ``` To check that everything is installed correctly you can run the c++ tests by executing the following @@ -56,9 +56,4 @@ and the python tests by executing ```bash cd ./test pytest -sv . -``` -Once the build is passing all the tests you can install it by executing the following from the test folder -```bash -cd .. -make install ``` \ No newline at end of file diff --git a/README.md b/README.md index 0b8e52ad..06313ea3 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ Now you can compile the kernel from the source by executing (replace `$CONDA_PRE mkdir build cd build cmake .. -D CMAKE_PREFIX_PATH=$CONDA_PREFIX -D CMAKE_INSTALL_PREFIX=$CONDA_PREFIX -D CMAKE_INSTALL_LIBDIR=lib -make +make install ``` To test the build you execute the following to test the C++ tests ```bash @@ -54,11 +54,7 @@ and ```bash pytest -sv . ``` -to perform the python tests. Once the build is passing all the tests you can install it by executing the following from the test folder -```bash -cd .. -make install -``` +to perform the python tests. ## Installation within a mamba environment (wasm build instructions)