Skip to content

Commit 7a092ec

Browse files
Update build_from_source.rst
1 parent 16607af commit 7a092ec

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/source/community/build_from_source.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ Depending on your systems setup, it may make sense to do this inside a virtual e
3535
virtualenv pyopenms_venv
3636
source pyopenms_venv/bin/activate
3737
38-
39-
Next, configure OpenMS with pyOpenMS: execute ``cmake`` as usual, but with
40-
parameters ``DPYOPENMS=ON``. Also, if using virtualenv or using a specific
41-
Python version, add ``-DPYTHON_EXECUTABLE:FILEPATH=/path/to/python`` to ensure
38+
Next, configure OpenMS with pyOpenMS as target.
39+
If your are using virtualenv or a specific Python version,
40+
add ``-DPYTHON_EXECUTABLE:FILEPATH=/path/to/python`` to ensure
4241
that the correct Python executable is used. Compiling pyOpenMS can use a lot of
4342
memory and take some time, however you can reduce the memory consumption by
4443
breaking up the compilation into multiple units and compiling in parallel, for
@@ -47,8 +46,7 @@ threads. You can then configure pyOpenMS:
4746

4847
.. code-block:: bash
4948
50-
cmake -DPYOPENMS=ON
51-
make pyopenms
49+
cmake --build YOURBUILDFOLDER --target pyopenms --config Release
5250
5351
Build pyOpenMS (now there should be pyOpenMS specific build targets).
5452
Afterwards, test that all went well by running the tests:

0 commit comments

Comments
 (0)