From f028d05989e726f26fac8a03a4b61300c3a206bb Mon Sep 17 00:00:00 2001 From: Julien Elbaz Date: Sun, 9 Feb 2025 15:38:46 +0100 Subject: [PATCH] remove preview_mt --- .github/workflows/build.yml | 4 ++-- README.md | 2 +- bench/bench-local.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 532de20..ad1f981 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,7 +32,7 @@ jobs: - name: Build the binary # Statically link most non-system libraries run: | - env CRYSTAL_LIBRARY_PATH=`pwd`/libs crystal projects.cr build:cli --no-debug --release -Dpreview_mt + env CRYSTAL_LIBRARY_PATH=`pwd`/libs crystal projects.cr build:cli --no-debug --release #-Dpreview_mt mkdir bin mv ./packages/cli/bin/zap ./bin/zap - name: Upload a Build Artifact @@ -65,7 +65,7 @@ jobs: cp $(brew --prefix)/opt/pcre2/lib/libpcre2-8.a ./libs - name: Build the binary run: | - env CRYSTAL_LIBRARY_PATH=`pwd`/libs crystal projects.cr build:cli --no-debug --release -Dpreview_mt + env CRYSTAL_LIBRARY_PATH=`pwd`/libs crystal projects.cr build:cli --no-debug --release #-Dpreview_mt mkdir bin mv ./packages/cli/bin/zap ./bin/zap - name: Upload a Build Artifact diff --git a/README.md b/README.md index 8ac6cea..aa7fb34 100644 --- a/README.md +++ b/README.md @@ -244,7 +244,7 @@ crystal projects.cr spec install # Run the specs crystal projects.cr spec # Build locally (-Dpreview_mt might not work on some os/arch) -crystal projects.cr cli:build --production --release --progress -Dpreview_mt +crystal projects.cr cli:build --production --release --progress # -Dpreview_mt # Run the binary ./packages/cli/bin/zap --help ``` diff --git a/bench/bench-local.sh b/bench/bench-local.sh index 350c803..b4563ac 100755 --- a/bench/bench-local.sh +++ b/bench/bench-local.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # Build zap -../projects.cr build:cli --production --release --progress -Dpreview_mt +../projects.cr build:cli --production --release --progress #-Dpreview_mt # Run the benchmarks env PATH="$(pwd)/../packages/cli/bin:$PATH" ./bench.sh env PATH="$(pwd)/../packages/cli/bin:$PATH" ./plot.sh \ No newline at end of file