Skip to content

Commit b9d6cbe

Browse files
author
github-actions[doc-deploy-bot]
committed
Docs for pull request 2172
1 parent 72fbf9c commit b9d6cbe

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

pulls/2172/_sources/contributor_guides/building.rst.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,14 +129,16 @@ To develop, run:
129129

130130
.. code-block:: bash
131131
132-
python setup.py develop -G Ninja -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icpx
132+
python setup.py build_ext --inplace -G Ninja -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icpx
133+
python -m pip install -e .
133134
134135
.. tab-item:: Windows
135136
:sync: win
136137

137138
.. code-block:: bat
138139
139-
python setup.py develop -G Ninja -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icx
140+
python setup.py build_ext --inplace -G Ninja -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icx
141+
python -m pip install -e .
140142
141143
142144
Developing can be streamlined using the driver script:
@@ -169,7 +171,8 @@ the relevant CMake variables, for example:
169171

170172
.. code-block:: bash
171173
172-
python setup.py develop -- -G Ninja -DCMAKE_C_COMPILER:PATH=$(which clang) -DCMAKE_CXX_COMPILER:PATH=$(which clang++)
174+
python setup.py build_ext --inplace -G Ninja -DCMAKE_C_COMPILER:PATH=$(which clang) -DCMAKE_CXX_COMPILER:PATH=$(which clang++)
175+
python -m pip install -e .
173176
174177
175178
Or you can use the driver script:

pulls/2172/contributor_guides/building.html

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -892,14 +892,16 @@ <h3>Build and Install with scikit-build<a class="headerlink" href="#build-and-in
892892
<input checked="checked" id="sd-tab-item-2" name="sd-tab-set-1" type="radio">
893893
<label class="sd-tab-label" data-sync-group="tab" data-sync-id="lnx" for="sd-tab-item-2">
894894
Linux</label><div class="sd-tab-content docutils">
895-
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>python<span class="w"> </span>setup.py<span class="w"> </span>develop<span class="w"> </span>-G<span class="w"> </span>Ninja<span class="w"> </span>-DCMAKE_C_COMPILER:PATH<span class="o">=</span>icx<span class="w"> </span>-DCMAKE_CXX_COMPILER:PATH<span class="o">=</span>icpx
895+
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>python<span class="w"> </span>setup.py<span class="w"> </span>build_ext<span class="w"> </span>--inplace<span class="w"> </span>-G<span class="w"> </span>Ninja<span class="w"> </span>-DCMAKE_C_COMPILER:PATH<span class="o">=</span>icx<span class="w"> </span>-DCMAKE_CXX_COMPILER:PATH<span class="o">=</span>icpx
896+
python<span class="w"> </span>-m<span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>-e<span class="w"> </span>.
896897
</pre></div>
897898
</div>
898899
</div>
899900
<input id="sd-tab-item-3" name="sd-tab-set-1" type="radio">
900901
<label class="sd-tab-label" data-sync-group="tab" data-sync-id="win" for="sd-tab-item-3">
901902
Windows</label><div class="sd-tab-content docutils">
902-
<div class="highlight-bat notranslate"><div class="highlight"><pre><span></span>python setup.py develop -G Ninja -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icx
903+
<div class="highlight-bat notranslate"><div class="highlight"><pre><span></span>python setup.py build_ext --inplace -G Ninja -DCMAKE_C_COMPILER:PATH=icx -DCMAKE_CXX_COMPILER:PATH=icx
904+
python -m pip install -e .
903905
</pre></div>
904906
</div>
905907
</div>
@@ -929,7 +931,8 @@ <h2>Building Using Custom DPC++<a class="headerlink" href="#building-using-custo
929931
instead of the DPC++ compiler that comes with oneAPI.</p>
930932
<p>Following steps in the <a class="reference internal" href="#build-and-install-with-scikit-build">Build and install with scikit-build</a> use a command-line option to set
931933
the relevant CMake variables, for example:</p>
932-
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>python<span class="w"> </span>setup.py<span class="w"> </span>develop<span class="w"> </span>--<span class="w"> </span>-G<span class="w"> </span>Ninja<span class="w"> </span>-DCMAKE_C_COMPILER:PATH<span class="o">=</span><span class="k">$(</span>which<span class="w"> </span>clang<span class="k">)</span><span class="w"> </span>-DCMAKE_CXX_COMPILER:PATH<span class="o">=</span><span class="k">$(</span>which<span class="w"> </span>clang++<span class="k">)</span>
934+
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>python<span class="w"> </span>setup.py<span class="w"> </span>build_ext<span class="w"> </span>--inplace<span class="w"> </span>-G<span class="w"> </span>Ninja<span class="w"> </span>-DCMAKE_C_COMPILER:PATH<span class="o">=</span><span class="k">$(</span>which<span class="w"> </span>clang<span class="k">)</span><span class="w"> </span>-DCMAKE_CXX_COMPILER:PATH<span class="o">=</span><span class="k">$(</span>which<span class="w"> </span>clang++<span class="k">)</span>
935+
python<span class="w"> </span>-m<span class="w"> </span>pip<span class="w"> </span>install<span class="w"> </span>-e<span class="w"> </span>.
933936
</pre></div>
934937
</div>
935938
<p>Or you can use the driver script:</p>

pulls/2172/objects.inv

-1 Bytes
Binary file not shown.

pulls/2172/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)