Skip to content

Commit

Permalink
Merge pull request #470 from kroma-network/bulid/release-tachyon-v0.3.0
Browse files Browse the repository at this point in the history
bulid: release tachyon v0.3.0
  • Loading branch information
chokobole authored Jul 17, 2024
2 parents a457999 + d98c44d commit f5a2c7c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion bazel/tachyon.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ load("@local_config_rocm//rocm:build_defs.bzl", "if_rocm_is_configured")

# See https://semver.org/
VERSION_MAJOR = 0
VERSION_MINOR = 2
VERSION_MINOR = 3
VERSION_PATCH = 0
VERSION_PRERELEASE = ""
VERSION = ".".join([str(VERSION_MAJOR), str(VERSION_MINOR), str(VERSION_PATCH)])
Expand Down
12 changes: 6 additions & 6 deletions docker/Dockerfile.halo2.jammy
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ RUN bazel build -c opt --config linux --config halo2 --//:has_openmp --//:c_shar
FROM ubuntu:jammy AS tachyon-halo2
LABEL maintainer="The Tachyon Authors <[email protected]>"

COPY --from=builder /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.2.0_amd64.deb /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.2.0_amd64.deb
COPY --from=builder /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.2.0_amd64.deb /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.2.0_amd64.deb
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
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

RUN apt update && \
apt install -y --no-install-recommends \
libgmp-dev \
libomp-dev && \
rm -rf /var/lib/apt/lists/*
RUN dpkg -i /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.2.0_amd64.deb && \
dpkg -i /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.2.0_amd64.deb && \
rm /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.2.0_amd64.deb && \
rm /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.2.0_amd64.deb
RUN dpkg -i /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.3.0_amd64.deb && \
dpkg -i /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.3.0_amd64.deb && \
rm /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.3.0_amd64.deb && \
rm /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.3.0_amd64.deb
22 changes: 11 additions & 11 deletions docs/how_to_use/how_to_build.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,9 @@ Tachyon can be built in your own Bazel project with the following two simple ste
First, obtain the Tachyon code from a specific commit hash and get a SHA256 value from the fetched code through these commands:

```shell
wget https://github.com/kroma-network/tachyon/archive/79ec2875bdc6fce62e490c845b44477b15df45ec.tar.gz
wget https://github.com/kroma-network/tachyon/archive/d056e1c61622e8788ae558c7fd4c19415fe7a7e8.tar.gz

shasum -a 256 79ec2875bdc6fce62e490c845b44477b15df45ec.tar.gz
shasum -a 256 d056e1c61622e8788ae558c7fd4c19415fe7a7e8.tar.gz
```

Second, input the shasum output into your `WORKSPACE` file as the `sha256` argument like shown below:
Expand All @@ -174,9 +174,9 @@ Second, input the shasum output into your `WORKSPACE` file as the `sha256` argum
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "kroma_network_tachyon",
sha256 = "a37fba8082a2c27a4a2f09255cf6c2693836dccbb8a8cea7e327d860115ffd30",
strip_prefix = "tachyon-79ec2875bdc6fce62e490c845b44477b15df45ec",
urls = ["https://github.com/kroma-network/tachyon/archive/79ec2875bdc6fce62e490c845b44477b15df45ec.tar.gz"],
sha256 = "aae28c7853dff4bb91f60aa7cbd17f26e4014bbe67d8853d6e2012d61c7e3715",
strip_prefix = "tachyon-d056e1c61622e8788ae558c7fd4c19415fe7a7e8",
urls = ["https://github.com/kroma-network/tachyon/archive/d056e1c61622e8788ae558c7fd4c19415fe7a7e8.tar.gz"],
)
```

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

```shell
curl -LO https://github.com/kroma-network/tachyon/releases/download/v0.2.0/libtachyon_0.2.0_amd64.deb
curl -LO https://github.com/kroma-network/tachyon/releases/download/v0.2.0/libtachyon-dev_0.2.0_amd64.deb
curl -LO https://github.com/kroma-network/tachyon/releases/download/v0.3.0/libtachyon_0.3.0_amd64.deb
curl -LO https://github.com/kroma-network/tachyon/releases/download/v0.3.0/libtachyon-dev_0.3.0_amd64.deb

sudo dpkg -i libtachyon_0.2.0_amd64.deb
sudo dpkg -i libtachyon-dev_0.2.0_amd64.deb
sudo dpkg -i libtachyon_0.3.0_amd64.deb
sudo dpkg -i libtachyon-dev_0.3.0_amd64.deb
```

### Build package from source
Expand All @@ -203,8 +203,8 @@ To build the Halo2 Debian package, `halo2` and `has_openmp` options are recommen
bazel build -c opt --config ${os} --config halo2 --//:has_openmp --//:c_shared_object //scripts/packages/debian/runtime:debian
bazel build -c opt --config ${os} --config halo2 --//:has_openmp --//:c_shared_object //scripts/packages/debian/dev:debian

sudo dpkg -i bazel-bin/scripts/packages/debian/runtime/libtachyon_0.2.0_amd64.deb
sudo dpkg -i bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.2.0_amd64.deb
sudo dpkg -i bazel-bin/scripts/packages/debian/runtime/libtachyon_0.3.0_amd64.deb
sudo dpkg -i bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.3.0_amd64.deb
```

## Other Info
Expand Down
2 changes: 1 addition & 1 deletion tachyon/c/version.bzl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# See https://semver.org/
VERSION_MAJOR = 0
VERSION_MINOR = 2
VERSION_MINOR = 3
VERSION_PATCH = 0
VERSION_PRERELEASE = ""

Expand Down

0 comments on commit f5a2c7c

Please sign in to comment.