Skip to content

Commit 1aeecc2

Browse files
committed
[DO NOT SUBMIT] Experiments with Mac compile target
1 parent 3419b9f commit 1aeecc2

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

Jenkinsfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,16 @@ pipeline {
232232
sh build.sh clean
233233
sh build.sh -gtk4 checklibs install-pi-only
234234
elif [[ ${PLATFORM} == cocoa.macosx.* ]]; then
235+
xcode-select --print-path
236+
xcode-select --version
237+
softwareupdate --list
238+
softwareupdate --history
239+
xcodebuild -version
240+
xcodebuild -showsdks
235241
sh build.sh install
242+
for f in libs/*; do
243+
vtool -show ${f}
244+
done
236245
else
237246
echo "Unexpected build platform ${PLATFORM}"
238247
exit 1

bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ elif [ "x${MODEL}" = "xarm64" ] || [ "x${MODEL}" = "xaarch64" ]; then
2929
fi
3030
fi
3131

32-
export MACOSX_DEPLOYMENT_TARGET=10.10
32+
#TODO: increment this?
33+
export MACOSX_DEPLOYMENT_TARGET=10.15
34+
export CLANG_ENABLE_OBJC_WEAK = YES
35+
export CLANG_WARN_UNGUARDED_AVAILABILITY = YES
36+
export GCC_TREAT_WARNINGS_AS_ERRORS = YES
37+
3338

3439
make -f make_macosx.mak $1 $2 $3 $4 $5 $6 $7 $8 $9

0 commit comments

Comments
 (0)