Skip to content

Commit c9837e3

Browse files
author
Ryan Kim
authored
Merge pull request #556 from kroma-network/build/release-tachyon-v0.4.0
build: release tachyon v0.4.0
2 parents d0ae6c9 + 0a4d3a5 commit c9837e3

File tree

4 files changed

+19
-19
lines changed

4 files changed

+19
-19
lines changed

bazel/tachyon.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ load("@local_config_rocm//rocm:build_defs.bzl", "if_rocm_is_configured")
33

44
# See https://semver.org/
55
VERSION_MAJOR = 0
6-
VERSION_MINOR = 3
6+
VERSION_MINOR = 4
77
VERSION_PATCH = 0
88
VERSION_PRERELEASE = ""
99
VERSION = ".".join([str(VERSION_MAJOR), str(VERSION_MINOR), str(VERSION_PATCH)])

docker/Dockerfile.halo2.jammy

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ RUN bazel build --config opt --config linux --//:c_shared_object //scripts/packa
1010
FROM ubuntu:jammy AS tachyon-halo2
1111
LABEL maintainer="The Tachyon Authors <[email protected]>"
1212

13-
COPY --from=builder /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.3.0_amd64.deb /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.3.0_amd64.deb
14-
COPY --from=builder /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.3.0_amd64.deb /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.3.0_amd64.deb
13+
COPY --from=builder /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.4.0_amd64.deb /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.4.0_amd64.deb
14+
COPY --from=builder /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.4.0_amd64.deb /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.4.0_amd64.deb
1515

1616
RUN apt update && \
1717
apt install -y --no-install-recommends \
1818
libgmp-dev \
1919
libomp-dev && \
2020
rm -rf /var/lib/apt/lists/*
21-
RUN dpkg -i /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.3.0_amd64.deb && \
22-
dpkg -i /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.3.0_amd64.deb && \
23-
rm /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.3.0_amd64.deb && \
24-
rm /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.3.0_amd64.deb
21+
RUN dpkg -i /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.4.0_amd64.deb && \
22+
dpkg -i /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.4.0_amd64.deb && \
23+
rm /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.4.0_amd64.deb && \
24+
rm /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.4.0_amd64.deb

docs/how_to_use/how_to_build.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,9 @@ Tachyon can be built in your own Bazel project with the following two simple ste
120120
First, obtain the Tachyon code from a specific commit hash and get a SHA256 value from the fetched code through these commands:
121121

122122
```shell
123-
wget https://github.com/kroma-network/tachyon/archive/d056e1c61622e8788ae558c7fd4c19415fe7a7e8.tar.gz
123+
wget https://github.com/kroma-network/tachyon/archive/e02feac98608a6bb1efc75df07237f702db7cce7.tar.gz
124124

125-
shasum -a 256 d056e1c61622e8788ae558c7fd4c19415fe7a7e8.tar.gz
125+
shasum -a 256 e02feac98608a6bb1efc75df07237f702db7cce7.tar.gz
126126
```
127127

128128
Second, input the shasum output into your `WORKSPACE` file as the `sha256` argument like shown below:
@@ -133,9 +133,9 @@ Second, input the shasum output into your `WORKSPACE` file as the `sha256` argum
133133
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
134134
http_archive(
135135
name = "kroma_network_tachyon",
136-
sha256 = "aae28c7853dff4bb91f60aa7cbd17f26e4014bbe67d8853d6e2012d61c7e3715",
137-
strip_prefix = "tachyon-d056e1c61622e8788ae558c7fd4c19415fe7a7e8",
138-
urls = ["https://github.com/kroma-network/tachyon/archive/d056e1c61622e8788ae558c7fd4c19415fe7a7e8.tar.gz"],
136+
sha256 = "e3bfefb20bcb425a5169c46cf0bd4dacbdeaceab94b144a3d5fa4214d9e974d2",
137+
strip_prefix = "tachyon-e02feac98608a6bb1efc75df07237f702db7cce7",
138+
urls = ["https://github.com/kroma-network/tachyon/archive/e02feac98608a6bb1efc75df07237f702db7cce7.tar.gz"],
139139
)
140140
```
141141

@@ -146,11 +146,11 @@ There are two ways to install the Tachyon package. While it is recommended to in
146146
### Install package from pre-built binaries
147147

148148
```shell
149-
curl -LO https://github.com/kroma-network/tachyon/releases/download/v0.3.0/libtachyon_0.3.0_amd64.deb
150-
curl -LO https://github.com/kroma-network/tachyon/releases/download/v0.3.0/libtachyon-dev_0.3.0_amd64.deb
149+
curl -LO https://github.com/kroma-network/tachyon/releases/download/v0.4.0/libtachyon_0.4.0_amd64.deb
150+
curl -LO https://github.com/kroma-network/tachyon/releases/download/v0.4.0/libtachyon-dev_0.4.0_amd64.deb
151151

152-
sudo dpkg -i libtachyon_0.3.0_amd64.deb
153-
sudo dpkg -i libtachyon-dev_0.3.0_amd64.deb
152+
sudo dpkg -i libtachyon_0.4.0_amd64.deb
153+
sudo dpkg -i libtachyon-dev_0.4.0_amd64.deb
154154
```
155155

156156
### Build package from source
@@ -162,8 +162,8 @@ To build the Halo2 Debian package, the `has_openmp` option is recommended. Run t
162162
bazel build --config opt --//:c_shared_object //scripts/packages/debian/runtime:debian
163163
bazel build --config opt --//:c_shared_object //scripts/packages/debian/dev:debian
164164

165-
sudo dpkg -i bazel-bin/scripts/packages/debian/runtime/libtachyon_0.3.0_amd64.deb
166-
sudo dpkg -i bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.3.0_amd64.deb
165+
sudo dpkg -i bazel-bin/scripts/packages/debian/runtime/libtachyon_0.4.0_amd64.deb
166+
sudo dpkg -i bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.4.0_amd64.deb
167167
```
168168

169169
## Other Info

tachyon/c/version.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# See https://semver.org/
22
VERSION_MAJOR = 0
3-
VERSION_MINOR = 3
3+
VERSION_MINOR = 4
44
VERSION_PATCH = 0
55
VERSION_PRERELEASE = ""
66

0 commit comments

Comments
 (0)