Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
3
3p-apr_suite
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
Alchemy Viewer
Third Party
3p-apr_suite
Compare revisions
840248c16e5fcc76145c54f3a222369d79e10b1d to 279f47a60af9302f9b927c5532028fd86b2bad8d
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
alchemy/thirdparty/3p-apr_suite
Select target project
No results found
279f47a60af9302f9b927c5532028fd86b2bad8d
Select Git revision
Branches
m1
main
update
vendor
Swap
Target
alchemy/thirdparty/3p-apr_suite
Select target project
alchemy/thirdparty/3p-apr_suite
1 result
840248c16e5fcc76145c54f3a222369d79e10b1d
Select Git revision
Branches
m1
main
update
vendor
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
Initial m1 support
· 29abee0b
Rye Mutt
authored
2 years ago
29abee0b
Add build script
· 15a61a0a
Rye Mutt
authored
2 years ago
15a61a0a
Fix header copy
· 279f47a6
Rye Mutt
authored
2 years ago
279f47a6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
autobuild.xml
+9
-9
9 additions, 9 deletions
autobuild.xml
build-cmd.sh
+134
-53
134 additions, 53 deletions
build-cmd.sh
with
143 additions
and
62 deletions
autobuild.xml
View file @
279f47a6
...
@@ -22,11 +22,11 @@
...
@@ -22,11 +22,11 @@
<key>
archive
</key>
<key>
archive
</key>
<map>
<map>
<key>
hash
</key>
<key>
hash
</key>
<string>
8b36b7c62146d221e178c2c2555174ac2f7c0fe43b18e155948407dd0ae3fce8dd0ba4ea9205c248c60706f67b5db44db9e725b1216aad1a7e80cb38d7355e7a
</string>
<string>
46ce3f201f8020ad6cf5e6f0f9d5c4c72c11438c0c91444773cb2b8def290fdee10d29eb39f9668dd921aa80cbc6a3ee441b1c6bdd12be831c5e5ceec8e40d96
</string>
<key>
hash_algorithm
</key>
<key>
hash_algorithm
</key>
<string>
blake2b
</string>
<string>
blake2b
</string>
<key>
url
</key>
<key>
url
</key>
<string>
https://git.alchemyviewer.org/api/v4/projects/109/packages/generic/expat/2.
4.9
.16
00
/expat-2.
4.9
-darwin64-16
00
.tar.zst
</string>
<string>
https://git.alchemyviewer.org/api/v4/projects/109/packages/generic/expat/2.
5.0
.16
77
/expat-2.
5.0
-darwin64-16
77
.tar.zst
</string>
</map>
</map>
<key>
name
</key>
<key>
name
</key>
<string>
darwin64
</string>
<string>
darwin64
</string>
...
@@ -36,11 +36,11 @@
...
@@ -36,11 +36,11 @@
<key>
archive
</key>
<key>
archive
</key>
<map>
<map>
<key>
hash
</key>
<key>
hash
</key>
<string>
6896a2ee9c5e4a01ab20f6c2f16fac14cb9ec8a22417d16762ad25648b89289ba33d9cfc019959af63d39fa2d09fdc6385ae6f747ce828db3ae0adec1c4ab8fe
</string>
<string>
cded1fb0f4a6addafab3f384bf0e145121b54a7aa604d65b304061fce875297c3f0e5b90abb9b4797bb62907d6b25aa607de93d710bd13bf207f144304bc37f6
</string>
<key>
hash_algorithm
</key>
<key>
hash_algorithm
</key>
<string>
blake2b
</string>
<string>
blake2b
</string>
<key>
url
</key>
<key>
url
</key>
<string>
https://git.alchemyviewer.org/api/v4/projects/109/packages/generic/expat/2.
4.9
.16
00
/expat-2.
4.9
-linux64-16
00
.tar.zst
</string>
<string>
https://git.alchemyviewer.org/api/v4/projects/109/packages/generic/expat/2.
5.0
.16
77
/expat-2.
5.0
-linux64-16
77
.tar.zst
</string>
</map>
</map>
<key>
name
</key>
<key>
name
</key>
<string>
linux64
</string>
<string>
linux64
</string>
...
@@ -50,18 +50,18 @@
...
@@ -50,18 +50,18 @@
<key>
archive
</key>
<key>
archive
</key>
<map>
<map>
<key>
hash
</key>
<key>
hash
</key>
<string>
d2d135be4e1acaf7e639da4d63957e95e7b8c07c15e08379734615dda9529ed5d8bab3aefd6a2d0d55f8f7b047b9ca1405f793d303404812b39d55bdfcf80148
</string>
<string>
a753f5699a9c2b7a04977bd10718247269730d031418d3195003dc4833710be0dea6aaf6483f68118e0928d138c6ad0223a91e28999b3dd951df70bb7a0046e9
</string>
<key>
hash_algorithm
</key>
<key>
hash_algorithm
</key>
<string>
blake2b
</string>
<string>
blake2b
</string>
<key>
url
</key>
<key>
url
</key>
<string>
https://git.alchemyviewer.org/api/v4/projects/109/packages/generic/expat/2.
4.9
.16
00
/expat-2.
4.9
-windows64-16
00
.tar.zst
</string>
<string>
https://git.alchemyviewer.org/api/v4/projects/109/packages/generic/expat/2.
5.0
.16
77
/expat-2.
5.0
-windows64-16
77
.tar.zst
</string>
</map>
</map>
<key>
name
</key>
<key>
name
</key>
<string>
windows64
</string>
<string>
windows64
</string>
</map>
</map>
</map>
</map>
<key>
version
</key>
<key>
version
</key>
<string>
2.
4.9
</string>
<string>
2.
5.0
</string>
</map>
</map>
</map>
</map>
<key>
package_description
</key>
<key>
package_description
</key>
...
@@ -125,8 +125,8 @@
...
@@ -125,8 +125,8 @@
</map>
</map>
<key>
manifest
</key>
<key>
manifest
</key>
<array>
<array>
<string>
lib/debug/*.
dylib
</string>
<string>
lib/debug/*.
a
</string>
<string>
lib/release/*.
dylib
</string>
<string>
lib/release/*.
a
</string>
</array>
</array>
<key>
name
</key>
<key>
name
</key>
<string>
darwin
</string>
<string>
darwin
</string>
...
...
This diff is collapsed.
Click to expand it.
build-cmd.sh
View file @
279f47a6
...
@@ -118,38 +118,46 @@ if not any(frag in d for frag in ('CommonExtensions', 'VSPerfCollectionTools', '
...
@@ -118,38 +118,46 @@ if not any(frag in d for frag in ('CommonExtensions', 'VSPerfCollectionTools', '
# Setup osx sdk platform
# Setup osx sdk platform
SDKNAME
=
"macosx"
SDKNAME
=
"macosx"
export
SDKROOT
=
$(
xcodebuild
-version
-sdk
${
SDKNAME
}
Path
)
export
SDKROOT
=
$(
xcodebuild
-version
-sdk
${
SDKNAME
}
Path
)
export
MACOSX_DEPLOYMENT_TARGET
=
10.15
# Deploy Targets
X86_DEPLOY
=
10.13
ARM64_DEPLOY
=
11.0
# Setup build flags
# Setup build flags
ARCH_FLAGS
=
"-arch x86_64"
ARCH_FLAGS
_X86
=
"-arch x86_64
-mmacosx-version-min=
${
X86_DEPLOY
}
-isysroot
${
SDKROOT
}
"
SDK
_FLAGS
=
"
-mmacosx-version-min=
${
MACOSX
_DEPLOY
MENT_TARGET
}
-isysroot
${
SDKROOT
}
"
ARCH
_FLAGS
_ARM64
=
"-arch arm64
-mmacosx-version-min=
${
ARM64
_DEPLOY
}
-isysroot
${
SDKROOT
}
"
DEBUG_COMMON_FLAGS
=
"
$ARCH_FLAGS
$SDK_FLAGS
-O0 -g -msse4.2
-fPIC -DPIC"
DEBUG_COMMON_FLAGS
=
"
-O0 -g
-fPIC -DPIC"
RELEASE_COMMON_FLAGS
=
"
$ARCH_FLAGS
$SDK_FLAGS
-O3 -g -msse4.2
-fPIC -DPIC -fstack-protector-strong"
RELEASE_COMMON_FLAGS
=
"
-O3 -g
-fPIC -DPIC -fstack-protector-strong"
DEBUG_CFLAGS
=
"
$DEBUG_COMMON_FLAGS
"
DEBUG_CFLAGS
=
"
$DEBUG_COMMON_FLAGS
"
RELEASE_CFLAGS
=
"
$RELEASE_COMMON_FLAGS
"
RELEASE_CFLAGS
=
"
$RELEASE_COMMON_FLAGS
"
DEBUG_CXXFLAGS
=
"
$DEBUG_COMMON_FLAGS
-std=c++17"
DEBUG_CXXFLAGS
=
"
$DEBUG_COMMON_FLAGS
-std=c++17"
RELEASE_CXXFLAGS
=
"
$RELEASE_COMMON_FLAGS
-std=c++17"
RELEASE_CXXFLAGS
=
"
$RELEASE_COMMON_FLAGS
-std=c++17"
DEBUG_CPPFLAGS
=
"-DPIC"
DEBUG_CPPFLAGS
=
"-DPIC"
RELEASE_CPPFLAGS
=
"-DPIC"
RELEASE_CPPFLAGS
=
"-DPIC"
DEBUG_LDFLAGS
=
"
$ARCH_FLAGS
$SDK_FLAGS
-Wl,-headerpad_max_install_names"
DEBUG_LDFLAGS
=
"-Wl,-headerpad_max_install_names"
RELEASE_LDFLAGS
=
"
$ARCH_FLAGS
$SDK_FLAGS
-Wl,-headerpad_max_install_names"
RELEASE_LDFLAGS
=
"-Wl,-headerpad_max_install_names"
JOBS
=
`
sysctl
-n
hw.ncpu
`
# x86 Deploy Target
export
MACOSX_DEPLOYMENT_TARGET
=
${
X86_DEPLOY
}
PREFIX
=
"
$STAGING_DIR
"
PREFIX
=
"
$STAGING_DIR
"
PREFIX_DEBUG
=
"
$PREFIX
/temp_debug"
PREFIX_DEBUG_X86
=
"
$PREFIX
/temp_debug_x86"
PREFIX_RELEASE
=
"
$PREFIX
/temp_release"
PREFIX_DEBUG_ARM64
=
"
$PREFIX
/temp_debug_arm64"
PREFIX_RELEASE_X86
=
"
$PREFIX
/temp_release_x86"
PREFIX_RELEASE_ARM64
=
"
$PREFIX
/temp_release_arm64"
mkdir
-p
$PREFIX_DEBUG
mkdir
-p
$PREFIX_DEBUG_X86
mkdir
-p
$PREFIX_RELEASE
mkdir
-p
$PREFIX_DEBUG_ARM64
mkdir
-p
$PREFIX_RELEASE_X86
mkdir
-p
$PREFIX_RELEASE_ARM64
pushd
"
$TOP_DIR
/apr"
pushd
"
$TOP_DIR
/apr"
autoreconf
-fvi
autoreconf
-fvi
mkdir
-p
"build_debug"
mkdir
-p
"build_debug
_x86
"
pushd
"build_debug"
pushd
"build_debug
_x86
"
CFLAGS
=
"
$DEBUG_CFLAGS
"
CXXFLAGS
=
"
$DEBUG_CXXFLAGS
"
LDFLAGS
=
"
$DEBUG_LDFLAGS
"
\
CFLAGS
=
"
$ARCH_FLAGS_X86
$DEBUG_CFLAGS
-msse4.2
"
CXXFLAGS
=
"
$ARCH_FLAGS_X86
$DEBUG_CXXFLAGS
-msse4.2
"
LDFLAGS
=
"
$ARCH_FLAGS_X86
$DEBUG_LDFLAGS
"
\
../configure
--enable-debug
--
prefix
=
"
$PREFIX_DEBUG
"
../configure
--enable-debug
--
disable-shared
--enable-static
--prefix
=
"
$PREFIX_DEBUG_X86
"
--host
=
x86_64-apple-darwin
make
-j
$AUTOBUILD_CPU_COUNT
make
-j
$AUTOBUILD_CPU_COUNT
make
install
make
install
...
@@ -159,10 +167,10 @@ if not any(frag in d for frag in ('CommonExtensions', 'VSPerfCollectionTools', '
...
@@ -159,10 +167,10 @@ if not any(frag in d for frag in ('CommonExtensions', 'VSPerfCollectionTools', '
# fi
# fi
popd
popd
mkdir
-p
"build_release"
mkdir
-p
"build_release
_x86
"
pushd
"build_release"
pushd
"build_release
_x86
"
CFLAGS
=
"
$RELEASE_CFLAGS
"
CXXFLAGS
=
"
$RELEASE_CXXFLAGS
"
LDFLAGS
=
"
$RELEASE_LDFLAGS
"
\
CFLAGS
=
"
$ARCH_FLAGS_X86
$RELEASE_CFLAGS
-msse4.2
"
CXXFLAGS
=
"
$ARCH_FLAGS_X86
$RELEASE_CXXFLAGS
-msse4.2
"
LDFLAGS
=
"
$ARCH_FLAGS_X86
$RELEASE_LDFLAGS
"
\
../configure
--
prefix
=
"
$PREFIX_RELEASE
"
../configure
--
disable-shared
--enable-static
--prefix
=
"
$PREFIX_RELEASE_X86
"
--host
=
x86_64-apple-darwin
make
-j
$AUTOBUILD_CPU_COUNT
make
-j
$AUTOBUILD_CPU_COUNT
make
install
make
install
...
@@ -171,28 +179,81 @@ if not any(frag in d for frag in ('CommonExtensions', 'VSPerfCollectionTools', '
...
@@ -171,28 +179,81 @@ if not any(frag in d for frag in ('CommonExtensions', 'VSPerfCollectionTools', '
# make check
# make check
# fi
# fi
popd
popd
popd
pushd
"
$PREFIX_DEBUG
/lib"
# ARM64 Deploy Target
fix_dylib_id
"libapr-1.dylib"
export
MACOSX_DEPLOYMENT_TARGET
=
${
ARM64_DEPLOY
}
dsymutil libapr-
*
.
*
.dylib
strip
-x
-S
libapr-
*
.
*
.dylib
mkdir
-p
"build_debug_arm64"
popd
pushd
"build_debug_arm64"
CFLAGS
=
"
$ARCH_FLAGS_ARM64
$DEBUG_CFLAGS
"
CXXFLAGS
=
"
$ARCH_FLAGS_ARM64
$DEBUG_CXXFLAGS
"
LDFLAGS
=
"
$ARCH_FLAGS_ARM64
$DEBUG_LDFLAGS
"
\
../configure
--enable-debug
--disable-shared
--enable-static
--prefix
=
"
$PREFIX_DEBUG_ARM64
"
--host
=
aarch64-apple-darwin
make
-j
$AUTOBUILD_CPU_COUNT
make
install
pushd
"
$PREFIX_RELEASE
/lib"
# conditionally run unit tests
fix_dylib_id
"libapr-1.dylib"
# if [ "${DISABLE_UNIT_TESTS:-0}" = "0" ]; then
dsymutil libapr-
*
.
*
.dylib
# make check
strip
-x
-S
libapr-
*
.
*
.dylib
# fi
popd
mkdir
-p
"build_release_arm64"
pushd
"build_release_arm64"
CFLAGS
=
"
$ARCH_FLAGS_ARM64
$RELEASE_CFLAGS
"
CXXFLAGS
=
"
$ARCH_FLAGS_ARM64
$RELEASE_CXXFLAGS
"
LDFLAGS
=
"
$ARCH_FLAGS_ARM64
$RELEASE_LDFLAGS
"
\
../configure
--disable-shared
--enable-static
--prefix
=
"
$PREFIX_RELEASE_ARM64
"
--host
=
aarch64-apple-darwin
make
-j
$AUTOBUILD_CPU_COUNT
make
install
# conditionally run unit tests
# if [ "${DISABLE_UNIT_TESTS:-0}" = "0" ]; then
# make check
# fi
popd
popd
popd
# pushd "$PREFIX_DEBUG/lib"
# fix_dylib_id "libapr-1.dylib"
# dsymutil libapr-*.*.dylib
# strip -x -S libapr-*.*.dylib
# popd
# pushd "$PREFIX_RELEASE/lib"
# fix_dylib_id "libapr-1.dylib"
# dsymutil libapr-*.*.dylib
# strip -x -S libapr-*.*.dylib
# popd
pushd
"
$TOP_DIR
/apr-util"
pushd
"
$TOP_DIR
/apr-util"
autoreconf
-fvi
autoreconf
-fvi
mkdir
-p
"build_debug"
# x86_64 Deploy Target
pushd
"build_debug"
export
MACOSX_DEPLOYMENT_TARGET
=
${
X86_DEPLOY
}
CFLAGS
=
"
$DEBUG_CFLAGS
"
CXXFLAGS
=
"
$DEBUG_CXXFLAGS
"
LDFLAGS
=
"
$DEBUG_LDFLAGS
"
\
../configure
--prefix
=
"
$PREFIX_DEBUG
"
--with-apr
=
"
$PREFIX_DEBUG
"
\
mkdir
-p
"build_debug_x86"
--with-expat
=
"
$SDKROOT
/usr"
pushd
"build_debug_x86"
cp
-a
$STAGING_DIR
/packages/lib/debug/
*
.a
$STAGING_DIR
/packages/lib
CFLAGS
=
"
$ARCH_FLAGS_X86
$DEBUG_CFLAGS
-msse4.2"
CXXFLAGS
=
"
$ARCH_FLAGS_X86
$DEBUG_CXXFLAGS
-msse4.2"
LDFLAGS
=
"
$ARCH_FLAGS_X86
$DEBUG_LDFLAGS
"
\
../configure
--prefix
=
"
$PREFIX_DEBUG_X86
"
--with-apr
=
"
$PREFIX_DEBUG_X86
"
\
--with-expat
=
"
$PREFIX
/packages"
--disable-shared
--enable-static
--host
=
x86_64-apple-darwin
make
-j
$AUTOBUILD_CPU_COUNT
make
install
# conditionally run unit tests
# if [ "${DISABLE_UNIT_TESTS:-0}" = "0" ]; then
# export DYLD_LIBRARY_PATH="$STAGING_DIR/packages/lib"
# make check
# fi
rm
$STAGING_DIR
/packages/lib/
*
.a
popd
mkdir
-p
"build_release_x86"
pushd
"build_release_x86"
cp
-a
$STAGING_DIR
/packages/lib/release/
*
.a
$STAGING_DIR
/packages/lib
CFLAGS
=
"
$ARCH_FLAGS_X86
$RELEASE_CFLAGS
-msse4.2"
CXXFLAGS
=
"
$ARCH_FLAGS_X86
$RELEASE_CXXFLAGS
-msse4.2"
LDFLAGS
=
"
$ARCH_FLAGS_X86
$RELEASE_LDFLAGS
"
\
../configure
--prefix
=
"
$PREFIX_RELEASE_X86
"
--with-apr
=
"
$PREFIX_RELEASE_X86
"
\
--with-expat
=
"
$PREFIX
/packages"
--disable-shared
--enable-static
--host
=
x86_64-apple-darwin
make
-j
$AUTOBUILD_CPU_COUNT
make
-j
$AUTOBUILD_CPU_COUNT
make
install
make
install
...
@@ -201,13 +262,20 @@ if not any(frag in d for frag in ('CommonExtensions', 'VSPerfCollectionTools', '
...
@@ -201,13 +262,20 @@ if not any(frag in d for frag in ('CommonExtensions', 'VSPerfCollectionTools', '
# export DYLD_LIBRARY_PATH="$STAGING_DIR/packages/lib"
# export DYLD_LIBRARY_PATH="$STAGING_DIR/packages/lib"
# make check
# make check
# fi
# fi
rm
$STAGING_DIR
/packages/lib/
*
.a
popd
popd
mkdir
-p
"build_release"
# ARM64 Deploy Target
pushd
"build_release"
export
MACOSX_DEPLOYMENT_TARGET
=
${
ARM64_DEPLOY
}
CFLAGS
=
"
$RELEASE_CFLAGS
"
CXXFLAGS
=
"
$RELEASE_CXXFLAGS
"
LDFLAGS
=
"
$RELEASE_LDFLAGS
"
\
../configure
--prefix
=
"
$PREFIX_RELEASE
"
--with-apr
=
"
$PREFIX_RELEASE
"
\
mkdir
-p
"build_debug_arm64"
--with-expat
=
"
$SDKROOT
/usr"
pushd
"build_debug_arm64"
cp
-a
$STAGING_DIR
/packages/lib/debug/
*
.a
$STAGING_DIR
/packages/lib
CFLAGS
=
"
$ARCH_FLAGS_ARM64
$DEBUG_CFLAGS
"
CXXFLAGS
=
"
$ARCH_FLAGS_ARM64
$DEBUG_CXXFLAGS
"
LDFLAGS
=
"
$ARCH_FLAGS_ARM64
$DEBUG_LDFLAGS
"
\
../configure
--prefix
=
"
$PREFIX_DEBUG_ARM64
"
--with-apr
=
"
$PREFIX_DEBUG_ARM64
"
\
--with-expat
=
"
$PREFIX
/packages"
--disable-shared
--enable-static
--host
=
aarch64-apple-darwin
make
-j
$AUTOBUILD_CPU_COUNT
make
-j
$AUTOBUILD_CPU_COUNT
make
install
make
install
...
@@ -216,29 +284,42 @@ if not any(frag in d for frag in ('CommonExtensions', 'VSPerfCollectionTools', '
...
@@ -216,29 +284,42 @@ if not any(frag in d for frag in ('CommonExtensions', 'VSPerfCollectionTools', '
# export DYLD_LIBRARY_PATH="$STAGING_DIR/packages/lib"
# export DYLD_LIBRARY_PATH="$STAGING_DIR/packages/lib"
# make check
# make check
# fi
# fi
rm
$STAGING_DIR
/packages/lib/
*
.a
popd
popd
popd
pushd
"
$PREFIX_DEBUG
/lib"
mkdir
-p
"build_release_arm64"
fix_dylib_id
"libaprutil-1.dylib"
pushd
"build_release_arm64"
dsymutil libaprutil-
*
.
*
.dylib
cp
-a
$STAGING_DIR
/packages/lib/release/
*
.a
$STAGING_DIR
/packages/lib
strip
-x
-S
libaprutil-
*
.
*
.dylib
popd
CFLAGS
=
"
$ARCH_FLAGS_ARM64
$RELEASE_CFLAGS
"
CXXFLAGS
=
"
$ARCH_FLAGS_ARM64
$RELEASE_CXXFLAGS
"
LDFLAGS
=
"
$ARCH_FLAGS_ARM64
$RELEASE_LDFLAGS
"
\
../configure
--prefix
=
"
$PREFIX_RELEASE_ARM64
"
--with-apr
=
"
$PREFIX_RELEASE_ARM64
"
\
--with-expat
=
"
$PREFIX
/packages"
--disable-shared
--enable-static
--host
=
aarch64-apple-darwin
make
-j
$AUTOBUILD_CPU_COUNT
make
install
pushd
"
$PREFIX_RELEASE
/lib"
# conditionally run unit tests
fix_dylib_id
"libaprutil-1.dylib"
# if [ "${DISABLE_UNIT_TESTS:-0}" = "0" ]; then
dsymutil libaprutil-
*
.
*
.dylib
# export DYLD_LIBRARY_PATH="$STAGING_DIR/packages/lib"
strip
-x
-S
libaprutil-
*
.
*
.dylib
# make check
# fi
rm
$STAGING_DIR
/packages/lib/
*
.a
popd
popd
popd
mkdir
-p
"
$PREFIX
/include"
mkdir
-p
"
$PREFIX
/include"
mkdir
-p
"
$PREFIX
/lib/debug"
mkdir
-p
"
$PREFIX
/lib/debug"
mkdir
-p
"
$PREFIX
/lib/release"
mkdir
-p
"
$PREFIX
/lib/release"
cp
-a
$PREFIX_DEBUG
/lib/
*
.dylib
*
$PREFIX
/lib/debug
# create fat libraries
cp
-a
$PREFIX_RELEASE
/lib/
*
.dylib
*
$PREFIX
/lib/release
lipo
-create
${
STAGING_DIR
}
/temp_debug_x86/lib/libapr-1.a
${
STAGING_DIR
}
/temp_debug_arm64/lib/libapr-1.a
-output
${
STAGING_DIR
}
/lib/debug/libapr-1.a
lipo
-create
${
STAGING_DIR
}
/temp_debug_x86/lib/libaprutil-1.a
${
STAGING_DIR
}
/temp_debug_arm64/lib/libaprutil-1.a
-output
${
STAGING_DIR
}
/lib/debug/libaprutil-1.a
lipo
-create
${
STAGING_DIR
}
/temp_release_x86/lib/libapr-1.a
${
STAGING_DIR
}
/temp_release_arm64/lib/libapr-1.a
-output
${
STAGING_DIR
}
/lib/release/libapr-1.a
lipo
-create
${
STAGING_DIR
}
/temp_release_x86/lib/libaprutil-1.a
${
STAGING_DIR
}
/temp_release_arm64/lib/libaprutil-1.a
-output
${
STAGING_DIR
}
/lib/release/libaprutil-1.a
cp
-a
$PREFIX_RELEASE
/include/
*
$PREFIX
/include/
# copy headers
mv
$STAGING_DIR
/temp_release_x86/include/
*
$STAGING_DIR
/include/
;;
;;
linux
*
)
linux
*
)
...
...
This diff is collapsed.
Click to expand it.