final buildbot setup for high sierra?

Ryan Schmidt ryandesign at macports.org
Thu Sep 20 21:07:49 UTC 2018


On Sep 20, 2018, at 13:43, Ken Cunningham wrote:

>> On Sep 18, 2018, at 8:46 AM, Ryan Schmidt wrote:
> 
>> I have not looked into it, but if the macOS SDK in Xcode 10 removes the same aspects of 32-bit support that macOS Mojave removes, then we may not want to impose those restrictions on High Sierra, and in that case I would probably want to keep the High Sierra buildbot on Xcode 9.
>> 
> 
> 
> I took the leap and installed Xcode 10 on one of my systems running 10.13:
> 
> macOS 10.13.6 17G65
> Xcode 10.0 10A255 
> 
> 
> and then I built basiliskii freshly from source:
> 
> sudo port -v -s install basiliskii
> 
> and watched it build through with -arch i386:
> 
> /usr/bin/clang++ -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_basiliskii/basiliskii/work/macemu-1c9b21f580501c5d5833935375945479c5651964/BasiliskII/src/Unix/../include -I/opt/local/include -I../MacOSX -I./../include -I./. -I. -I./../CrossPlatform -I./../uae_cpu -I./../slirp -DHAVE_CONFIG_H  -DOS_darwin -DDIRECT_ADDRESSING -DUNALIGNED_PROFITABLE -DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DSAHF_SETO_PROFITABLE -DUSE_JIT -DUSE_JIT_FPU -DFPU_IEEE -D_REENTRANT -DDATADIR=\"/opt/local/share/BasiliskII\" -pipe -O3 -stdlib=libc++ -arch i386 -I/opt/local/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -fomit-frame-pointer -fno-exceptions -fno-merge-constants -fno-gcse-sm -mdynamic-no-pic  -c ./../main.cpp -o obj/main.o
> 
> 
> which resulted in an i386 binary at the end:
> 
> $ file /Applications/MacPorts/BasiliskII/BasiliskII.app/Contents/MacOS/BasiliskII
> /Applications/MacPorts/BasiliskII/BasiliskII.app/Contents/MacOS/BasiliskII: Mach-O executable i386
> 
> Which works correctly when I launch it.
> 
> So — something is still working right, at least on 10.13 with Xcode 10.

Yes, but based on the above output, the SDK wasn't used. If the SDK had been used, a 32-bit build would not have been possible, as far as I understand.



More information about the macports-dev mailing list