diff --git a/bazel/tachyon.bzl b/bazel/tachyon.bzl index 7da29a901..332383be6 100644 --- a/bazel/tachyon.bzl +++ b/bazel/tachyon.bzl @@ -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 = 3 +VERSION_MINOR = 4 VERSION_PATCH = 0 VERSION_PRERELEASE = "" VERSION = ".".join([str(VERSION_MAJOR), str(VERSION_MINOR), str(VERSION_PATCH)]) diff --git a/docker/Dockerfile.halo2.jammy b/docker/Dockerfile.halo2.jammy index c6fe54aac..727d6a907 100644 --- a/docker/Dockerfile.halo2.jammy +++ b/docker/Dockerfile.halo2.jammy @@ -10,15 +10,15 @@ RUN bazel build --config opt --config linux --//:c_shared_object //scripts/packa FROM ubuntu:jammy AS tachyon-halo2 LABEL maintainer="The Tachyon Authors " -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 +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 +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 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.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 +RUN dpkg -i /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.4.0_amd64.deb && \ + dpkg -i /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.4.0_amd64.deb && \ + rm /usr/src/tachyon/bazel-bin/scripts/packages/debian/runtime/libtachyon_0.4.0_amd64.deb && \ + rm /usr/src/tachyon/bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.4.0_amd64.deb diff --git a/docs/how_to_use/how_to_build.md b/docs/how_to_use/how_to_build.md index 134b00709..6ca7b8a6a 100644 --- a/docs/how_to_use/how_to_build.md +++ b/docs/how_to_use/how_to_build.md @@ -120,9 +120,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/d056e1c61622e8788ae558c7fd4c19415fe7a7e8.tar.gz +wget https://github.com/kroma-network/tachyon/archive/e02feac98608a6bb1efc75df07237f702db7cce7.tar.gz -shasum -a 256 d056e1c61622e8788ae558c7fd4c19415fe7a7e8.tar.gz +shasum -a 256 e02feac98608a6bb1efc75df07237f702db7cce7.tar.gz ``` 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 load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "kroma_network_tachyon", - sha256 = "aae28c7853dff4bb91f60aa7cbd17f26e4014bbe67d8853d6e2012d61c7e3715", - strip_prefix = "tachyon-d056e1c61622e8788ae558c7fd4c19415fe7a7e8", - urls = ["https://github.com/kroma-network/tachyon/archive/d056e1c61622e8788ae558c7fd4c19415fe7a7e8.tar.gz"], + sha256 = "e3bfefb20bcb425a5169c46cf0bd4dacbdeaceab94b144a3d5fa4214d9e974d2", + strip_prefix = "tachyon-e02feac98608a6bb1efc75df07237f702db7cce7", + urls = ["https://github.com/kroma-network/tachyon/archive/e02feac98608a6bb1efc75df07237f702db7cce7.tar.gz"], ) ``` @@ -146,11 +146,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.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 +curl -LO https://github.com/kroma-network/tachyon/releases/download/v0.4.0/libtachyon_0.4.0_amd64.deb +curl -LO https://github.com/kroma-network/tachyon/releases/download/v0.4.0/libtachyon-dev_0.4.0_amd64.deb -sudo dpkg -i libtachyon_0.3.0_amd64.deb -sudo dpkg -i libtachyon-dev_0.3.0_amd64.deb +sudo dpkg -i libtachyon_0.4.0_amd64.deb +sudo dpkg -i libtachyon-dev_0.4.0_amd64.deb ``` ### Build package from source @@ -162,8 +162,8 @@ To build the Halo2 Debian package, the `has_openmp` option is recommended. Run t bazel build --config opt --//:c_shared_object //scripts/packages/debian/runtime:debian bazel build --config opt --//:c_shared_object //scripts/packages/debian/dev:debian -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 +sudo dpkg -i bazel-bin/scripts/packages/debian/runtime/libtachyon_0.4.0_amd64.deb +sudo dpkg -i bazel-bin/scripts/packages/debian/dev/libtachyon-dev_0.4.0_amd64.deb ``` ## Other Info diff --git a/tachyon/c/version.bzl b/tachyon/c/version.bzl index 31a4ad012..461b1157a 100644 --- a/tachyon/c/version.bzl +++ b/tachyon/c/version.bzl @@ -1,6 +1,6 @@ # See https://semver.org/ VERSION_MAJOR = 0 -VERSION_MINOR = 3 +VERSION_MINOR = 4 VERSION_PATCH = 0 VERSION_PRERELEASE = ""