File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -35,10 +35,9 @@ Depending on your systems setup, it may make sense to do this inside a virtual e
35
35
virtualenv pyopenms_venv
36
36
source pyopenms_venv/bin/activate
37
37
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
42
41
that the correct Python executable is used. Compiling pyOpenMS can use a lot of
43
42
memory and take some time, however you can reduce the memory consumption by
44
43
breaking up the compilation into multiple units and compiling in parallel, for
@@ -47,8 +46,7 @@ threads. You can then configure pyOpenMS:
47
46
48
47
.. code-block :: bash
49
48
50
- cmake -DPYOPENMS=ON
51
- make pyopenms
49
+ cmake --build YOURBUILDFOLDER --target pyopenms --config Release
52
50
53
51
Build pyOpenMS (now there should be pyOpenMS specific build targets).
54
52
Afterwards, test that all went well by running the tests:
You can’t perform that action at this time.
0 commit comments