Skip to content

Commit 7d1c40c

Browse files
committed
[DO NOT SUBMIT] Experiments with Mac compile target
1 parent 3a013ef commit 7d1c40c

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

Jenkinsfile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,16 @@ pipeline {
255255
sh build.sh clean
256256
sh build.sh -gtk4 checklibs install-pi-only
257257
elif [[ ${PLATFORM} == cocoa.macosx.* ]]; then
258+
xcode-select --print-path
259+
xcode-select --version
260+
softwareupdate --list
261+
softwareupdate --history
262+
xcodebuild -version
263+
xcodebuild -showsdks
258264
sh build.sh install
265+
for f in libs/*; do
266+
vtool -show ${f}
267+
done
259268
else
260269
echo "Unexpected build platform ${PLATFORM}"
261270
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)