Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ def runOnNativeBuildAgent(String platform, Closure body) {
case 'gtk4.linux.x86_64':
dockerImage = 'eclipse/platformreleng-debian-swtnativebuild:12'
break
case 'cocoa.macosx.aarch64':
agentLabel = 'nc1ht-macos11-arm64'
break
case 'cocoa.macosx.x86_64':
agentLabel = 'b9h15-macos11-x86_64'
break
}
if (dockerImage != null) {
podTemplate(inheritFrom: 'basic' /* inherit general configuration */, containers: [
Expand Down Expand Up @@ -233,7 +239,16 @@ pipeline {
sh build.sh clean
sh build.sh -gtk4 checklibs install-pi-only
elif [[ ${PLATFORM} == cocoa.macosx.* ]]; then
xcode-select --print-path
xcode-select --version
softwareupdate --list
softwareupdate --history
xcodebuild -version
xcodebuild -showsdks
sh build.sh install
for f in libs/*; do
vtool -show ${f}
done
else
echo "Unexpected build platform ${PLATFORM}"
exit 1
Expand Down
4 changes: 4 additions & 0 deletions bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/library/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ elif [ "x${MODEL}" = "xarm64" ] || [ "x${MODEL}" = "xaarch64" ]; then
fi
fi

#TODO: increment this?
export MACOSX_DEPLOYMENT_TARGET=10.10
#export CLANG_ENABLE_OBJC_WEAK = YES
#export CLANG_WARN_UNGUARDED_AVAILABILITY = YES
#export GCC_TREAT_WARNINGS_AS_ERRORS = YES

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