Merge pull request #1218 from majestrate/macos-ci-build-fixes-2020-04-06

make apple builds build for older versions and embrace the bitrot
pull/1219/head
Jason Rhinelander 4 years ago committed by GitHub
commit 5cc48048f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -87,6 +87,7 @@ build:macos:
artifacts:
paths:
- build/*.pkg
- build/daemon/lokinet
# needs libuv and libcurl

@ -296,9 +296,10 @@ mac-release-configure: $(LIBUV_PREFIX)
$(CONFIG_CMD) -DNATIVE_BUILD=OFF -DCMAKE_BUILD_TYPE=Release -DRELEASE_MOTTO="$(shell cat motto.txt)" -DCMAKE_ASM_FLAGS='$(ASFLAGS)' -DCMAKE_C_FLAGS='$(CFLAGS)' -DCMAKE_CXX_FLAGS='$(CXXFLAGS)' -DLIBUV_ROOT='$(LIBUV_PREFIX)' -DWITH_TESTS=OFF '$(REPO)'
mac-release: mac-release-configure
$(MAKE) -C '$(BUILD_ROOT)' package
$(MAKE) -C '$(BUILD_ROOT)'
mac: mac-release
$(MAKE) -C '$(BUILD_ROOT)' package
abyss: debug
$(ABYSS_EXE)

@ -2,6 +2,11 @@ if(NOT UNIX)
return()
endif()
# because apple means embracing bitrot
if(APPLE)
add_compile_options(-mmacosx-version-min=10.13)
endif()
include(CheckCXXSourceCompiles)
include(CheckLibraryExists)

Loading…
Cancel
Save