Skip to content

Commit

Permalink
Automatic deploy (build number 549)
Browse files Browse the repository at this point in the history
  • Loading branch information
ConanCI bot committed Sep 26, 2023
1 parent d5fdec5 commit ad679a9
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ the generated binaries package IDs.
.. code-block:: bash
:emphasize-lines: 6,19,29,42
$ conan create . --build=missing -s build_type=Release -tf="" # -tf="" will skip buildiing the test_package
$ conan create . --build=missing -s build_type=Release -tf="" # -tf="" will skip ng the test_package
...
[ 50%] Building CXX object CMakeFiles/hello.dir/src/hello.cpp.o
[100%] Linking CXX static library libhello.a
Expand All @@ -130,7 +130,7 @@ the generated binaries package IDs.
hello/1.0: Full package reference: hello/1.0#e6b11fb0cb64e3777f8d62f4543cd6b3:738feca714b7251063cc51448da0cf4811424e7c#3bd9faedc711cbb4fdf10b295268246e
hello/1.0: Package folder /Users/user/.conan2/p/5c497cbb5421cbda/p
$ conan create . --build=missing -s build_type=Debug -tf="" # -tf="" will skip buildiing the test_package
$ conan create . --build=missing -s build_type=Debug -tf="" # -tf="" will skip building the test_package
...
[ 50%] Building CXX object CMakeFiles/hello.dir/src/hello.cpp.o
[100%] Linking CXX static library libhello.a
Expand Down Expand Up @@ -236,7 +236,7 @@ There are other typical cases where you want to delete certain settings. Imagine
are packaging a C library. When you build this library, there are settings like the
compiler C++ standard (``settings.compiler.cppstd``) or the standard library used
(``self.settings.compiler.libcxx``) that won't affect the resulting binary at all. Then it
does no make sense that they affect to the package ID computation, so a typical pattern is
does not make sense that they affect to the package ID computation, so a typical pattern is
to delete them in the ``configure()`` method:

.. code-block:: python
Expand Down
Binary file modified 2.0/conan.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion 2.0/searchindex.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
about the requirements of the package to a unique identifier.</p>
<p>Let’s build our package for <em>Release</em> and <em>Debug</em> configurations and check
the generated binaries package IDs.</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>conan<span class="w"> </span>create<span class="w"> </span>.<span class="w"> </span>--build<span class="o">=</span>missing<span class="w"> </span>-s<span class="w"> </span><span class="nv">build_type</span><span class="o">=</span>Release<span class="w"> </span>-tf<span class="o">=</span><span class="s2">&quot;&quot;</span><span class="w"> </span><span class="c1"># -tf=&quot;&quot; will skip buildiing the test_package</span>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>conan<span class="w"> </span>create<span class="w"> </span>.<span class="w"> </span>--build<span class="o">=</span>missing<span class="w"> </span>-s<span class="w"> </span><span class="nv">build_type</span><span class="o">=</span>Release<span class="w"> </span>-tf<span class="o">=</span><span class="s2">&quot;&quot;</span><span class="w"> </span><span class="c1"># -tf=&quot;&quot; will skip ng the test_package</span>
...
<span class="o">[</span><span class="w"> </span><span class="m">50</span>%<span class="o">]</span><span class="w"> </span>Building<span class="w"> </span>CXX<span class="w"> </span>object<span class="w"> </span>CMakeFiles/hello.dir/src/hello.cpp.o
<span class="o">[</span><span class="m">100</span>%<span class="o">]</span><span class="w"> </span>Linking<span class="w"> </span>CXX<span class="w"> </span>static<span class="w"> </span>library<span class="w"> </span>libhello.a
Expand All @@ -329,7 +329,7 @@
hello/1.0:<span class="w"> </span>Full<span class="w"> </span>package<span class="w"> </span>reference:<span class="w"> </span>hello/1.0#e6b11fb0cb64e3777f8d62f4543cd6b3:738feca714b7251063cc51448da0cf4811424e7c#3bd9faedc711cbb4fdf10b295268246e
hello/1.0:<span class="w"> </span>Package<span class="w"> </span>folder<span class="w"> </span>/Users/user/.conan2/p/5c497cbb5421cbda/p

$<span class="w"> </span>conan<span class="w"> </span>create<span class="w"> </span>.<span class="w"> </span>--build<span class="o">=</span>missing<span class="w"> </span>-s<span class="w"> </span><span class="nv">build_type</span><span class="o">=</span>Debug<span class="w"> </span>-tf<span class="o">=</span><span class="s2">&quot;&quot;</span><span class="w"> </span><span class="c1"># -tf=&quot;&quot; will skip buildiing the test_package</span>
$<span class="w"> </span>conan<span class="w"> </span>create<span class="w"> </span>.<span class="w"> </span>--build<span class="o">=</span>missing<span class="w"> </span>-s<span class="w"> </span><span class="nv">build_type</span><span class="o">=</span>Debug<span class="w"> </span>-tf<span class="o">=</span><span class="s2">&quot;&quot;</span><span class="w"> </span><span class="c1"># -tf=&quot;&quot; will skip building the test_package</span>
...
<span class="o">[</span><span class="w"> </span><span class="m">50</span>%<span class="o">]</span><span class="w"> </span>Building<span class="w"> </span>CXX<span class="w"> </span>object<span class="w"> </span>CMakeFiles/hello.dir/src/hello.cpp.o
<span class="o">[</span><span class="m">100</span>%<span class="o">]</span><span class="w"> </span>Linking<span class="w"> </span>CXX<span class="w"> </span>static<span class="w"> </span>library<span class="w"> </span>libhello.a
Expand Down Expand Up @@ -425,7 +425,7 @@ <h3>C libraries<a class="headerlink" href="#c-libraries" title="Permalink to thi
are packaging a C library. When you build this library, there are settings like the
compiler C++ standard (<code class="docutils literal notranslate"><span class="pre">settings.compiler.cppstd</span></code>) or the standard library used
(<code class="docutils literal notranslate"><span class="pre">self.settings.compiler.libcxx</span></code>) that won’t affect the resulting binary at all. Then it
does no make sense that they affect to the package ID computation, so a typical pattern is
does not make sense that they affect to the package ID computation, so a typical pattern is
to delete them in the <code class="docutils literal notranslate"><span class="pre">configure()</span></code> method:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">configure</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="k">del</span> <span class="bp">self</span><span class="o">.</span><span class="n">settings</span><span class="o">.</span><span class="n">compiler</span><span class="o">.</span><span class="n">cppstd</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ the generated binaries package IDs.
.. code-block:: bash
:emphasize-lines: 6,19,29,42
$ conan create . --build=missing -s build_type=Release -tf="" # -tf="" will skip buildiing the test_package
$ conan create . --build=missing -s build_type=Release -tf="" # -tf="" will skip ng the test_package
...
[ 50%] Building CXX object CMakeFiles/hello.dir/src/hello.cpp.o
[100%] Linking CXX static library libhello.a
Expand All @@ -130,7 +130,7 @@ the generated binaries package IDs.
hello/1.0: Full package reference: hello/1.0#e6b11fb0cb64e3777f8d62f4543cd6b3:738feca714b7251063cc51448da0cf4811424e7c#3bd9faedc711cbb4fdf10b295268246e
hello/1.0: Package folder /Users/user/.conan2/p/5c497cbb5421cbda/p
$ conan create . --build=missing -s build_type=Debug -tf="" # -tf="" will skip buildiing the test_package
$ conan create . --build=missing -s build_type=Debug -tf="" # -tf="" will skip building the test_package
...
[ 50%] Building CXX object CMakeFiles/hello.dir/src/hello.cpp.o
[100%] Linking CXX static library libhello.a
Expand Down Expand Up @@ -236,7 +236,7 @@ There are other typical cases where you want to delete certain settings. Imagine
are packaging a C library. When you build this library, there are settings like the
compiler C++ standard (``settings.compiler.cppstd``) or the standard library used
(``self.settings.compiler.libcxx``) that won't affect the resulting binary at all. Then it
does no make sense that they affect to the package ID computation, so a typical pattern is
does not make sense that they affect to the package ID computation, so a typical pattern is
to delete them in the ``configure()`` method:

.. code-block:: python
Expand Down
Binary file modified 2/conan.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion 2/searchindex.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions 2/tutorial/creating_packages/configure_options_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@
about the requirements of the package to a unique identifier.</p>
<p>Let’s build our package for <em>Release</em> and <em>Debug</em> configurations and check
the generated binaries package IDs.</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>conan<span class="w"> </span>create<span class="w"> </span>.<span class="w"> </span>--build<span class="o">=</span>missing<span class="w"> </span>-s<span class="w"> </span><span class="nv">build_type</span><span class="o">=</span>Release<span class="w"> </span>-tf<span class="o">=</span><span class="s2">&quot;&quot;</span><span class="w"> </span><span class="c1"># -tf=&quot;&quot; will skip buildiing the test_package</span>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$<span class="w"> </span>conan<span class="w"> </span>create<span class="w"> </span>.<span class="w"> </span>--build<span class="o">=</span>missing<span class="w"> </span>-s<span class="w"> </span><span class="nv">build_type</span><span class="o">=</span>Release<span class="w"> </span>-tf<span class="o">=</span><span class="s2">&quot;&quot;</span><span class="w"> </span><span class="c1"># -tf=&quot;&quot; will skip ng the test_package</span>
...
<span class="o">[</span><span class="w"> </span><span class="m">50</span>%<span class="o">]</span><span class="w"> </span>Building<span class="w"> </span>CXX<span class="w"> </span>object<span class="w"> </span>CMakeFiles/hello.dir/src/hello.cpp.o
<span class="o">[</span><span class="m">100</span>%<span class="o">]</span><span class="w"> </span>Linking<span class="w"> </span>CXX<span class="w"> </span>static<span class="w"> </span>library<span class="w"> </span>libhello.a
Expand All @@ -329,7 +329,7 @@
hello/1.0:<span class="w"> </span>Full<span class="w"> </span>package<span class="w"> </span>reference:<span class="w"> </span>hello/1.0#e6b11fb0cb64e3777f8d62f4543cd6b3:738feca714b7251063cc51448da0cf4811424e7c#3bd9faedc711cbb4fdf10b295268246e
hello/1.0:<span class="w"> </span>Package<span class="w"> </span>folder<span class="w"> </span>/Users/user/.conan2/p/5c497cbb5421cbda/p

$<span class="w"> </span>conan<span class="w"> </span>create<span class="w"> </span>.<span class="w"> </span>--build<span class="o">=</span>missing<span class="w"> </span>-s<span class="w"> </span><span class="nv">build_type</span><span class="o">=</span>Debug<span class="w"> </span>-tf<span class="o">=</span><span class="s2">&quot;&quot;</span><span class="w"> </span><span class="c1"># -tf=&quot;&quot; will skip buildiing the test_package</span>
$<span class="w"> </span>conan<span class="w"> </span>create<span class="w"> </span>.<span class="w"> </span>--build<span class="o">=</span>missing<span class="w"> </span>-s<span class="w"> </span><span class="nv">build_type</span><span class="o">=</span>Debug<span class="w"> </span>-tf<span class="o">=</span><span class="s2">&quot;&quot;</span><span class="w"> </span><span class="c1"># -tf=&quot;&quot; will skip building the test_package</span>
...
<span class="o">[</span><span class="w"> </span><span class="m">50</span>%<span class="o">]</span><span class="w"> </span>Building<span class="w"> </span>CXX<span class="w"> </span>object<span class="w"> </span>CMakeFiles/hello.dir/src/hello.cpp.o
<span class="o">[</span><span class="m">100</span>%<span class="o">]</span><span class="w"> </span>Linking<span class="w"> </span>CXX<span class="w"> </span>static<span class="w"> </span>library<span class="w"> </span>libhello.a
Expand Down Expand Up @@ -425,7 +425,7 @@ <h3>C libraries<a class="headerlink" href="#c-libraries" title="Permalink to thi
are packaging a C library. When you build this library, there are settings like the
compiler C++ standard (<code class="docutils literal notranslate"><span class="pre">settings.compiler.cppstd</span></code>) or the standard library used
(<code class="docutils literal notranslate"><span class="pre">self.settings.compiler.libcxx</span></code>) that won’t affect the resulting binary at all. Then it
does no make sense that they affect to the package ID computation, so a typical pattern is
does not make sense that they affect to the package ID computation, so a typical pattern is
to delete them in the <code class="docutils literal notranslate"><span class="pre">configure()</span></code> method:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">configure</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span>
<span class="k">del</span> <span class="bp">self</span><span class="o">.</span><span class="n">settings</span><span class="o">.</span><span class="n">compiler</span><span class="o">.</span><span class="n">cppstd</span>
Expand Down

0 comments on commit ad679a9

Please sign in to comment.