Skip to content

Commit 8b08c1a

Browse files
author
github-actions[doc-deploy-bot]
committed
Docs for pull request 2191
1 parent 181fcce commit 8b08c1a

5 files changed

Lines changed: 14 additions & 8 deletions

File tree

pulls/2191/_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/2191/beginners_guides/installation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,7 @@ <h2>Installation using pip<a class="headerlink" href="#installation-using-pip" t
859859
<section id="installation-via-intel-r-distribution-for-python">
860860
<h2>Installation via Intel(R) Distribution for Python<a class="headerlink" href="#installation-via-intel-r-distribution-for-python" title="Permalink to this heading"></a></h2>
861861
<p><a class="reference external" href="https://www.intel.com/content/www/us/en/developer/tools/oneapi/distribution-for-python.html">Intel(R) Distribution for Python*</a> is distributed as a conda-based installer
862-
and includes <a class="reference internal" href="../api_reference/dpctl/index.html#module-dpctl" title="dpctl"><code class="xref py py-mod docutils literal notranslate"><span class="pre">dpctl</span></code></a> along with its dependencies and sister projects <a class="reference external" href="https://intelpython.github.io/dpnp/overview.html#module-dpnp" title="(in Data Parallel Extension for NumPy v0.20.0dev0+51.g131c4903c60)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">dpnp</span></code></a>
862+
and includes <a class="reference internal" href="../api_reference/dpctl/index.html#module-dpctl" title="dpctl"><code class="xref py py-mod docutils literal notranslate"><span class="pre">dpctl</span></code></a> along with its dependencies and sister projects <a class="reference external" href="https://intelpython.github.io/dpnp/overview.html#module-dpnp" title="(in Data Parallel Extension for NumPy v0.20.0dev1+1.gd99fa656451)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">dpnp</span></code></a>
863863
and <a class="reference external" href="https://intelpython.github.io/numba-dpex/latest/index.html#module-numba_dpex" title="(in numba-dpex)"><code class="xref py py-mod docutils literal notranslate"><span class="pre">numba_dpex</span></code></a>.</p>
864864
<p>Once the installed environment is activated, <code class="docutils literal notranslate"><span class="pre">dpctl</span></code> should be ready to use.</p>
865865
</section>

pulls/2191/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/2191/objects.inv

1 Byte
Binary file not shown.

pulls/2191/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)