-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed c7e6e4a with MkDocs version: 1.6.0
- Loading branch information
Unknown
committed
Jun 4, 2024
1 parent
c8bc00d
commit 434c966
Showing
3 changed files
with
89 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1214,6 +1214,15 @@ | |
</span> | ||
</a> | ||
|
||
</li> | ||
|
||
<li class="md-nav__item"> | ||
<a href="#rebuilding-software" class="md-nav__link"> | ||
<span class="md-ellipsis"> | ||
Rebuilding software | ||
</span> | ||
</a> | ||
|
||
</li> | ||
|
||
</ul> | ||
|
@@ -1683,6 +1692,15 @@ | |
</span> | ||
</a> | ||
|
||
</li> | ||
|
||
<li class="md-nav__item"> | ||
<a href="#rebuilding-software" class="md-nav__link"> | ||
<span class="md-ellipsis"> | ||
Rebuilding software | ||
</span> | ||
</a> | ||
|
||
</li> | ||
|
||
</ul> | ||
|
@@ -1755,8 +1773,9 @@ <h3 id="software_layer_pull_request">Creating a pull request<a class="headerlink | |
</code></pre></div> | ||
<p>3) Determine the correct easystack file to change, and add one or more lines to it that specify which | ||
easyconfigs should be installed</p> | ||
<div class="highlight"><pre><span></span><code><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a><span class="nb">echo</span><span class="w"> </span><span class="s1">' - example-1.2.3-GCC-12.3.0.eb'</span><span class="w"> </span>>><span class="w"> </span>easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.8.2-2023a.yml | ||
<p><div class="highlight"><pre><span></span><code><a id="__codelineno-5-1" name="__codelineno-5-1" href="#__codelineno-5-1"></a><span class="nb">echo</span><span class="w"> </span><span class="s1">' - example-1.2.3-GCC-12.3.0.eb'</span><span class="w"> </span>>><span class="w"> </span>easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.8.2-2023a.yml | ||
</code></pre></div> | ||
Note that the naming scheme is standardized and should be <code>eessi-<eessi_version>-eb-<eb_version>-<toolchain_version>.yml</code>. See the <a href="https://docs.easybuild.io/easystack-files/">official EasyBuild documentation on easystack files</a> for more information on the syntax.</p> | ||
<p>4) Stage and commit the changes into your your branch with a sensible message</p> | ||
<div class="highlight"><pre><span></span><code><a id="__codelineno-6-1" name="__codelineno-6-1" href="#__codelineno-6-1"></a>git<span class="w"> </span>add<span class="w"> </span>easystacks/software.eessi.io/2023.06/eessi-2023.06-eb-4.8.2-2023a.yml | ||
<a id="__codelineno-6-2" name="__codelineno-6-2" href="#__codelineno-6-2"></a>git<span class="w"> </span>commit<span class="w"> </span>-m<span class="w"> </span><span class="s2">"{2023.06}[GCC/12.3.0] example 1.2.3"</span> | ||
|
@@ -1770,6 +1789,22 @@ <h3 id="software_layer_pull_request">Creating a pull request<a class="headerlink | |
software to (like <code>2023.06-software.eessi.io</code>).</p> | ||
<p>If all goes well, one or more bots <img alt="🤖" class="twemoji" src="https://cdn.jsdelivr.net/gh/jdecked/[email protected]/assets/svg/1f916.svg" title=":robot:" /> should almost instantly create a comment in your pull request | ||
with an overview of how it is configured - you will need this information when providing build instructions.</p> | ||
<h3 id="rebuilding-software">Rebuilding software<a class="headerlink" href="#rebuilding-software" title="Permanent link">¶</a></h3> | ||
<p>We typically do not rebuild software, since (strictly speaking) this breaks reproducibility for anyone using the software. However, there are certain situations in which it is difficult or impossible to avoid.</p> | ||
<p>To do a rebuild, you add the software you want to rebuild to a dedicated easystack file in the <code>rebuilds</code> directory. Use the following naming convention: <code>YYYYMMDD-eb-<EB_VERSION>-<APPLICATION_NAME>-<APPLICATION_VERSION>-<SHORT_DESCRIPTION>.yml</code>, where <code>YYYYMMDD</code> is the opening date of your PR. E.g. <code>2024.05.06-eb-4.9.1-CUDA-12.1.1-ship-full-runtime.yml</code> was added in a PR on the 6th of May 2024 and used to rebuild CUDA-12.1.1 using EasyBuild 4.9.1 to resolve an issue with some runtime libraries missing from the initial CUDA 12.1.1 installation.</p> | ||
<p>At the top of your easystack file, please use comments to include a short description, and make sure to include any relevant links to related issues (e.g. from the GitHub repositories of EESSI, EasyBuild, or the software you are rebuilding).</p> | ||
<p>As an example, consider the full easystack file (<code>2024.05.06-eb-4.9.1-CUDA-12.1.1-ship-full-runtime.yml</code>) used for the aforementioned CUDA rebuild: </p> | ||
<div class="highlight"><pre><span></span><code><a id="__codelineno-8-1" name="__codelineno-8-1" href="#__codelineno-8-1"></a><span class="c1"># 2024.05.06</span> | ||
<a id="__codelineno-8-2" name="__codelineno-8-2" href="#__codelineno-8-2"></a><span class="c1"># Original matching of files we could ship was not done correctly. We were</span> | ||
<a id="__codelineno-8-3" name="__codelineno-8-3" href="#__codelineno-8-3"></a><span class="c1"># matching the basename for files (e.g., libcudart.so from libcudart.so.12)</span> | ||
<a id="__codelineno-8-4" name="__codelineno-8-4" href="#__codelineno-8-4"></a><span class="c1"># rather than the name stub (libcudart)</span> | ||
<a id="__codelineno-8-5" name="__codelineno-8-5" href="#__codelineno-8-5"></a><span class="c1"># See https://github.com/EESSI/software-layer/pull/559</span> | ||
<a id="__codelineno-8-6" name="__codelineno-8-6" href="#__codelineno-8-6"></a><span class="nt">easyconfigs</span><span class="p">:</span> | ||
<a id="__codelineno-8-7" name="__codelineno-8-7" href="#__codelineno-8-7"></a><span class="w"> </span><span class="p p-Indicator">-</span><span class="w"> </span><span class="nt">CUDA-12.1.1.eb</span><span class="p">:</span> | ||
<a id="__codelineno-8-8" name="__codelineno-8-8" href="#__codelineno-8-8"></a><span class="w"> </span><span class="nt">options</span><span class="p">:</span> | ||
<a id="__codelineno-8-9" name="__codelineno-8-9" href="#__codelineno-8-9"></a><span class="w"> </span><span class="nt">accept-eula-for</span><span class="p">:</span><span class="w"> </span><span class="l l-Scalar l-Scalar-Plain">CUDA</span> | ||
</code></pre></div> | ||
<p>By separating rebuilds in dedicated files, we still maintain a complete software bill of materials: it is transparent what got rebuilt, for which reason, and when.</p> | ||
|
||
|
||
|
||
|
@@ -1790,7 +1825,7 @@ <h3 id="software_layer_pull_request">Creating a pull request<a class="headerlink | |
<span class="md-icon" title="Last update"> | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg> | ||
</span> | ||
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">December 6, 2023</span> | ||
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">June 3, 2024</span> | ||
</span> | ||
|
||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.