Skip to content
This repository has been archived by the owner on Oct 13, 2022. It is now read-only.

Commit

Permalink
Prepare for release v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhal Agashe committed Oct 5, 2020
1 parent ce485e7 commit 3e4cc07
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 23 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
lsb_release -a
mkdir shasta-build
cd shasta-build
cmake .. -DBUILD_ID="Shasta unreleased test build newer than release 0.5.1 at commit "$GITHUB_SHA
# cmake .. -DBUILD_ID="Shasta Release 0.5.1"
# cmake .. -DBUILD_ID="Shasta unreleased test build newer than release 0.6.0 at commit "$GITHUB_SHA
cmake .. -DBUILD_ID="Shasta Release 0.6.0"
make -j 2 all
make install/strip
mv shasta-install shasta-Ubuntu-20.04
Expand Down Expand Up @@ -50,8 +50,8 @@ jobs:
lsb_release -a
mkdir shasta-build
cd shasta-build
cmake .. -DBUILD_ID="Shasta unreleased test build newer than release 0.5.1 at commit "$GITHUB_SHA
# cmake .. -DBUILD_ID="Shasta Release 0.5.1"
# cmake .. -DBUILD_ID="Shasta unreleased test build newer than release 0.6.0 at commit "$GITHUB_SHA
cmake .. -DBUILD_ID="Shasta Release 0.6.0"
make -j 2 all
make install/strip
mv shasta-install shasta-Ubuntu-18.04
Expand Down Expand Up @@ -79,8 +79,8 @@ jobs:
lsb_release -a
mkdir shasta-build
cd shasta-build
cmake .. -DBUILD_ID="Shasta unreleased test build newer than release 0.5.1 at commit "$GITHUB_SHA
# cmake .. -DBUILD_ID="Shasta Release 0.5.1"
# cmake .. -DBUILD_ID="Shasta unreleased test build newer than release 0.6.0 at commit "$GITHUB_SHA
cmake .. -DBUILD_ID="Shasta Release 0.6.0"
make -j 2 all
make install/strip
mv shasta-install shasta-Ubuntu-16.04
Expand Down Expand Up @@ -112,8 +112,8 @@ jobs:
run: |
mkdir shasta-build
cd shasta-build
cmake .. -DBUILD_ID="Shasta unreleased test build for MacOS-10.14 newer than release 0.5.1 at commit "$GITHUB_SHA
# cmake .. -DBUILD_ID="Shasta Release 0.5.1 for MacOS-10.14"
# cmake .. -DBUILD_ID="Shasta unreleased test build for MacOS-10.14 newer than release 0.6.0 at commit "$GITHUB_SHA
cmake .. -DBUILD_ID="Shasta Release 0.6.0 for MacOS-10.14"
make VERBOSE=1 -j 2 all
make install/strip
# See what libraries the executable depends on.
Expand All @@ -136,8 +136,8 @@ jobs:
run: |
mkdir shasta-build
cd shasta-build
cmake .. -DBUILD_ID="Shasta unreleased test build for MacOS-10.15 newer than release 0.5.1 at commit "$GITHUB_SHA
# cmake .. -DBUILD_ID="Shasta Release 0.5.1 for MacOS-10.15"
# cmake .. -DBUILD_ID="Shasta unreleased test build for MacOS-10.15 newer than release 0.6.0 at commit "$GITHUB_SHA
cmake .. -DBUILD_ID="Shasta Release 0.6.0 for MacOS-10.15 & MacOS-10.14"
make VERBOSE=1 -j 2 all
make install/strip
# See what libraries the executable depends on.
Expand Down
4 changes: 2 additions & 2 deletions docs/MakeRelease.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ <h1>Creating a new release</h1>
sudo ./shasta/scripts/InstallPrerequisites-Ubuntu.sh
mkdir -p shasta-build
cd shasta-build
cmake ../shasta
cmake ../shasta -DBUILD_ID="Shasta Release X.Y.Z for 64 bit ARM"
make install -j
</code></li>
<li>Download the <code>aarch64</code> Shasta binary (using <code>scp</code>) and rename it to <code>shasta-Linux-aarch64-X.Y.Z</code>. This is the seventh artifact for the release.</li>
<li>Download the <code>aarch64</code> Shasta binary (using <code>scp</code>) and rename it to <code>shasta-Linux-ARM-X.Y.Z</code>. This is the seventh artifact for the release.</li>
</ul>
</li>

Expand Down
17 changes: 8 additions & 9 deletions docs/QuickStart.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ <h2 id="QuickStartLinux">Linux</h2>
You can use the following commands to download the executable from the latest release and run an assembly:
<pre>
# Download the executable for the latest release.
curl -O -L https://github.com/chanzuckerberg/shasta/releases/download/0.5.1/shasta-Linux-0.5.1
curl -O -L https://github.com/chanzuckerberg/shasta/releases/download/0.6.0/shasta-Linux-0.6.0

# Grant necessary permissions.
chmod ugo+x shasta-Linux-0.5.1
chmod ugo+x shasta-Linux-0.6.0

# Run an assembly.
./shasta-Linux-0.5.1 --input input.fasta
./shasta-Linux-0.6.0 --input input.fasta
</pre>

<p>
Expand Down Expand Up @@ -67,17 +67,16 @@ <h2 id="QuickStartMacOS">macOS</h2>

<pre>
# Download the executable for the latest release.
curl -O -L https://github.com/chanzuckerberg/shasta/releases/download/0.5.1/shasta-macOS-10.15-0.5.1
curl -O -L https://github.com/chanzuckerberg/shasta/releases/download/0.6.0/shasta-macOS-0.6.0

# Grant necessary permissions.
chmod ugo+x shasta-macOS-10.15-0.5.1
chmod ugo+x shasta-macOS-0.6.0

# Run an assembly.
./shasta-macOS-10.15-0.5.1 --input input.fasta
./shasta-macOS-0.6.0 --input input.fasta
</pre>
The above assumes that you are on macOS 10.15 (<i>Catalina</i>).
If you are on macOS 10.14 (<i>Mojave</i>), change the name of the executable
accordingly in the 3 above commands.
The macOS executable has been tested on macOS 10.15 (<i>Catalina</i>) and
macOS 10.14 (<i>Mojave</i>).

<h2 id="QuickStartWindows">Windows</h2>
<ul>
Expand Down
4 changes: 2 additions & 2 deletions docs/Running.html
Original file line number Diff line number Diff line change
Expand Up @@ -656,10 +656,10 @@ <h2 id=Docker>Running an assembly using Docker</h2>
<h2 id=Errors>Dealing with errors</h2>
<ul>
<li> <code>FATAL: kernel too old</code> : If you get this error when using
<code>shasta-Linux-0.5.1</code>, then you should retry with <code>shasta-OldLinux-0.5.1</code>, which is a version of Shasta built for older kernels.
<code>shasta-Linux-0.6.0</code>, then you should retry with <code>shasta-OldLinux-0.6.0</code>, which is a version of Shasta built for older kernels.
You can find out the kernel version on your system by running <code>uname -a</code>.
Compare it with the minimum required kernel version for the Shasta executable by running
<code>file shasta-Linux-0.5.1</code> or <code>file shasta-OldLinux-0.5.1</code>.
<code>file shasta-Linux-0.6.0</code> or <code>file shasta-OldLinux-0.6.0</code>.

<li> <code>sh: 1: cannot create /sys/kernel/mm/hugepages/hugepages-2048kB/nr_overcommit_hugepages: Read-only file system</code>: Shasta needs root privilege to use the `hugetlbfs` filesystem. If you're running this in a Docker container, you need to
use the Docker option <code>--privileged</code>.
Expand Down

0 comments on commit 3e4cc07

Please sign in to comment.