Skip to content

Commit a5f2a24

Browse files
committed
Update to DeveloperGuide
1 parent 739d00d commit a5f2a24

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

DeveloperGuide.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -675,9 +675,11 @@ <h4 id="pybind11">pybind11:</h4>
675675
<a class="sourceLine" id="cb1-3" data-line-number="3"><span class="fu">git</span> checkout tags/v2.2.4 <span class="co"># v2.3.0 has a bug with char enums</span></a>
676676
<a class="sourceLine" id="cb1-4" data-line-number="4"><span class="fu">mkdir</span> build</a>
677677
<a class="sourceLine" id="cb1-5" data-line-number="5"><span class="bu">cd</span> build</a>
678-
<a class="sourceLine" id="cb1-6" data-line-number="6"><span class="fu">cmake</span> -DCMAKE_CXX_STANDARD=17 -DPYBIND11_PYTHON_VERSION=3.7 ..</a>
679-
<a class="sourceLine" id="cb1-7" data-line-number="7"><span class="fu">make</span></a>
680-
<a class="sourceLine" id="cb1-8" data-line-number="8"><span class="fu">sudo</span> make install</a></code></pre></div>
678+
<a class="sourceLine" id="cb1-6" data-line-number="6"></a>
679+
<a class="sourceLine" id="cb1-7" data-line-number="7"><span class="fu">cmake</span> -DCMAKE_CXX_STANDARD=17 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYBIND11_PYTHON_VERSION=3.7 ..</a>
680+
<a class="sourceLine" id="cb1-8" data-line-number="8"></a>
681+
<a class="sourceLine" id="cb1-9" data-line-number="9"><span class="fu">make</span></a>
682+
<a class="sourceLine" id="cb1-10" data-line-number="10"><span class="fu">sudo</span> make install</a></code></pre></div>
681683
<hr />
682684
<h3 id="shift-python-installation">SHIFT Python Installation</h3>
683685
<p><strong>Depending on how python was installed in your system, you may need to use <code>sudo</code> in the commands below.</strong></p>

DeveloperGuide.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ cd pybind11
2525
git checkout tags/v2.2.4 # v2.3.0 has a bug with char enums
2626
mkdir build
2727
cd build
28-
cmake -DCMAKE_CXX_STANDARD=17 -DPYBIND11_PYTHON_VERSION=3.7 ..
28+
29+
cmake -DCMAKE_CXX_STANDARD=17 -DCMAKE_BUILD_TYPE=RelWithDebInfo -DPYBIND11_PYTHON_VERSION=3.7 ..
30+
2931
make
3032
sudo make install
3133
```

0 commit comments

Comments
 (0)