Skip to content

Commit

Permalink
Merge pull request #57 from hetalang/hc0.8.7
Browse files Browse the repository at this point in the history
heta-compiler v0.8.7
  • Loading branch information
ivborissov committed Sep 4, 2024
2 parents 55f899d + 27fc3e5 commit 17c655a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions Artifacts.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
[[heta_app]]
arch = "x86_64"
git-tree-sha1 = "fe79a7d34e362a7038a8ee7b7b5653a0895eba22"
git-tree-sha1 = "a23558d3a8dafc1280df998cda01be5f3df5322b"
libc = "glibc"
os = "linux"

[[heta_app.download]]
sha256 = "4dde32c2ba534e51b25030ed409d926008ff4ce44023f80d983810625bd54abd"
url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.6/heta-compiler-linux.tar.gz"
sha256 = "c3de7b6935653e4f0e4b0ff7251b639e76d5fecda1a825784f72ee02cb2381c5"
url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.7/heta-compiler-linux.tar.gz"
[[heta_app]]
arch = "x86_64"
git-tree-sha1 = "93c1330a1dce7f8aa62214c0cb5e612c02187956"
git-tree-sha1 = "b31deea146ed62c2f686888074499a99fb876080"
os = "windows"

[[heta_app.download]]
sha256 = "a0611f5ca671bd67edda6fbb062322ca89dbe2f4f0852ea8db30788f43c789c7"
url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.6/heta-compiler-windows.tar.gz"
sha256 = "0b8af8715f6a50240dd475599615c466c4d4bd7979477a512c0b8de20d6cacdf"
url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.7/heta-compiler-windows.tar.gz"
[[heta_app]]
arch = "x86_64"
git-tree-sha1 = "367cd23e5cbfebcd8f0c175703fbe7da734e4039"
git-tree-sha1 = "a741cebf5cd6872b9da78a1713e5b835f9bc919b"
os = "macos"

[[heta_app.download]]
sha256 = "f8d6b97cc06a9fc51e1c99f4383450c778f4067e7880fff3d709f2a510a3b230"
url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.6/heta-compiler-macos.tar.gz"
sha256 = "9454cd0b5a47f5692a5a5decdf47a0e03ef18892f4be5c55d28777bf499176a3"
url = "https://github.com/hetalang/heta-compiler/releases/download/v0.8.7/heta-compiler-macos.tar.gz"
2 changes: 1 addition & 1 deletion artifacts_scripts/build_artifacts.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using ArtifactUtils
using Pkg.Artifacts

const HETA_COMPILER_RELEASE = "v0.8.6"
const HETA_COMPILER_RELEASE = "v0.8.7"

const artifacts_toml = joinpath(@__DIR__, "..", "Artifacts.toml")

Expand Down
2 changes: 1 addition & 1 deletion src/HetaSimulator.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module HetaSimulator
import Base: SHA1

# heta-compiler supported version
const HETA_COMPILER_VERSION = "0.8.6"
const HETA_COMPILER_VERSION = "0.8.7"
#const SUPPORTED_VERSIONS = ["0.8.4", "0.8.5", "0.8.6"]

function heta_compiler_load()
Expand Down
2 changes: 1 addition & 1 deletion test/heta_compiler_test.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@

@test chomp(read(`$(HetaSimulator.heta_exe_path) -v`, String)) == HetaSimulator.HETA_COMPILER_VERSION
@test_throws AssertionError("The model was build with Heta compiler v0.0.1, which is not supported.\nThis HetaSimulator release includes Heta compiler v0.8.6. Please re-compile the model with HetaSimulator load_platform().") load_jlplatform("$HetaSimulatorDir/test/dummy_jlmodel.jl")
@test_throws AssertionError("The model was build with Heta compiler v0.0.1, which is not supported.\nThis HetaSimulator release includes Heta compiler v$(HetaSimulator.HETA_COMPILER_VERSION). Please re-compile the model with HetaSimulator load_platform().") load_jlplatform("$HetaSimulatorDir/test/dummy_jlmodel.jl")

0 comments on commit 17c655a

Please sign in to comment.