diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 266dbcbc62..42445de0ec 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -11,16 +11,7 @@ jobs:
os: [windows-large, macos-13-large, ubuntu-22.04]
runs-on: ${{ matrix.os }}
steps:
- - name: Disable autocrlf
- shell: bash
- if: runner.os == 'Windows'
- run: git config --global core.autocrlf input
- - uses: actions/checkout@v4
- with:
- submodules: recursive
- - uses: secondlife/action-autobuild@v3
- with:
- checkout: false
+ - uses: secondlife/action-autobuild@v4
release:
needs: build
runs-on: [ubuntu-latest]
diff --git a/autobuild.xml b/autobuild.xml
index e5bda3dfd3..dff01d0833 100644
--- a/autobuild.xml
+++ b/autobuild.xml
@@ -16,11 +16,11 @@
archive
name
darwin64
@@ -30,11 +30,11 @@
archive
name
linux64
@@ -58,11 +58,11 @@
archive
name
windows64
@@ -75,7 +75,7 @@
copyright
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
version
- 1.2.11.zlib-ng.32fd361
+ 2.2.1-r2
name
zlib-ng
canonical_repo
diff --git a/build-cmd.sh b/build-cmd.sh
index 580020f089..995f0bc69b 100755
--- a/build-cmd.sh
+++ b/build-cmd.sh
@@ -50,13 +50,13 @@ apply_patch()
local patch="$1"
local path="$2"
echo "Applying $patch..."
- git apply --check --reverse --directory="$path" "$patch" || git apply --directory="$path" "$patch"
+ git apply --check --directory="$path" "$patch" || git apply --directory="$path" "$patch"
}
apply_patch "../patches/libs/config/0001-Define-BOOST_ALL_NO_LIB.patch" "libs/config"
apply_patch "../patches/libs/fiber/0001-DRTVWR-476-Use-WIN32_LEAN_AND_MEAN-for-each-include-.patch" "libs/fiber"
-if [ "$OSTYPE" = "cygwin" ] ; then
+if [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" ]] ; then
autobuild="$(cygpath -u $AUTOBUILD)"
# convert from bash path to native OS pathname
native()
@@ -87,7 +87,17 @@ BOOST_BJAM_OPTIONS="address-model=$AUTOBUILD_ADDRSIZE architecture=x86 --layout=
# we're about to add) go into a single array entry.
BOOST_BJAM_OPTIONS=($BOOST_BJAM_OPTIONS)
# Append cxxflags as a single entry containing all of LL_BUILD_RELEASE.
-BOOST_BJAM_OPTIONS+=("cxxflags=$LL_BUILD_RELEASE")
+
+case "$AUTOBUILD_PLATFORM" in
+ windows*)
+ BOOST_BJAM_OPTIONS+=("cxxflags=$(replace_switch /Zi /Z7 $LL_BUILD_RELEASE)")
+ ;;
+ *)
+ BOOST_BJAM_OPTIONS+=("cxxflags=$LL_BUILD_RELEASE")
+ ;;
+esac
+
+
stage_lib="${stage}"/lib
stage_release="${stage_lib}"/release
@@ -335,6 +345,9 @@ case "$AUTOBUILD_PLATFORM" in
;;
darwin*)
+ # deploy target
+ export MACOSX_DEPLOYMENT_TARGET=${LL_BUILD_DARWIN_DEPLOY_TARGET}
+
# Force zlib static linkage by moving .dylibs out of the way
trap restore_dylibs EXIT
for dylib in "${stage}"/packages/lib/{debug,release}/*.dylib; do