Skip to content

Commit 252ec50

Browse files
committed
fix: update to the latest dev version of libzmq
1 parent 3ec073c commit 252ec50

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

script/build.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ import {mkdir, cd, exec, find, mv} from "shelljs"
55
const root = dirname(__dirname)
66

77
function main() {
8-
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing, @typescript-eslint/strict-boolean-expressions
9-
const zmq_version = process.env.ZMQ_VERSION || "4.3.4"
10-
const src_url = `https://github.com/zeromq/libzmq/releases/download/v${zmq_version}/zeromq-${zmq_version}.tar.gz`
8+
const zmq_rev =
9+
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing, @typescript-eslint/strict-boolean-expressions
10+
process.env.ZMQ_VERSION || "4e193f36fc7d0f729a7c87d55fff18d8c0db5ebf"
11+
const src_url = `"https://github.com/zeromq/libzmq/archive/${zmq_rev}.tar.gz`
1112

1213
const libzmq_build_prefix = `${root}/build/libzmq-staging`
1314
const libzmq_install_prefix = `${root}/build/libzmq`
@@ -16,8 +17,8 @@ function main() {
1617
process.platform === "win32" ? ".lib" : ".a"
1718
}`
1819

19-
const src_dir = `zeromq-${zmq_version}`
20-
const tarball = `zeromq-${zmq_version}.tar.gz`
20+
const src_dir = `libzmq-${zmq_rev}`
21+
const tarball = `libzmq-${zmq_rev}.tar.gz`
2122

2223
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing, @typescript-eslint/strict-boolean-expressions
2324
const CMAKE_BUILD_TYPE = process.env.CMAKE_BUILD_TYPE || "Release"

0 commit comments

Comments
 (0)