Commit Graph

73 Commits

Author SHA1 Message Date
Charlie Fenton 4010e8d2db Mac: ensure curl is built without needing libraries not normally available.
Also simplify redundant code.
2021-11-16 02:40:04 -08:00
Charlie Fenton 78614d9c1a Mac: change minimum MacOS version to 10.10 (required for wxWidgets 3.1.5) 2021-10-18 03:00:06 -07:00
Charlie Fenton 689dc20ede Mac: update dependent libraries to latest: c-ares-1.17.2, curl-7.79.1, freetype-2.11.0, openssl-3.0.0
Previously updated to wxWidgets-3.1.5. FTGL version ftgl-2.1.3~rc5  is still the current version.
2021-10-18 01:43:08 -07:00
Charlie Fenton 85b9494d96 Mac curl: build curl to use Secure Transport instead of OpenSSL so it uses MacOS maintained certificates instead of ca-bundle.crt 2021-10-11 04:04:03 -07:00
Charlie Fenton 6e3765440f Mac: fix build scripts to be compatible with both bash and zsh shells 2021-05-19 02:35:29 -07:00
Charlie Fenton acb21df865 Mac: Updates for for curl 7.73.0 and OpenSSL-1.1.0l
Update comments in dependencyNames.sh
Update Mac build instructions
Force rebuild of CI-Travis dependency cache (temporary for testing)
2020-12-24 03:46:21 -08:00
Charlie Fenton 505fb0d9db Mac: Try yet again to fix CI Travis build failure 2020-08-22 06:00:40 -07:00
Charlie Fenton 649b950f27 Mac: Try again to fix CI Travis build failure 2020-08-22 02:08:30 -07:00
Charlie Fenton 58096ce597 Mac: Automatically build Universal x86_64 / arm64 binaries on Xcode versions that support building both architectures, x86_64-only binaries on Xcode versions that support only x86_64 and arm64-only binaries on Xcode versions that support only arm64.
CAUTION #1: I don't have arm64 macintosh hardware so this has been tested only on an x86_64 system.
CAUTION #2: This was developed on MacOS 11.0 beta 3 and Xcode 12.0 beta 2, not final release builds
CAUTION #3: At this time OpenSSL does not yet provide a way to build for MacOS with arm64 architecture, so I implemented a temporary workaround, which may or may not work properly on arm64 Macs.
2020-08-01 23:41:58 -07:00
ShanghaiTimes 64431beb3c Disabling external libraries
This fix causes two libraries to be built without including two external libraries that get found when already installed on the Mac by Homebrew for example.
2019-03-14 14:12:52 +00:00
Charlie Fenton d7eed3eafd Mac: Update dependent library build scripts for Xcode 10 compatibility
- use libc++ instead of libstdc++
  - eliminate 32-bit builds (Xcode 10 with Mac OS X SDK 10.14 builds only 64-bit binaries)
  - buildWxMac.sh was previously updated for Xcode 10 compatibility by commit 282ea8c324
2019-01-24 00:52:49 -08:00
Christian Beer 9db9bbd8b5 Mac: disable usage of libidn2 by curl
If libidn2 is installed curl will automatically use it. But since we build a static curl and have a shared libidn2 on the Travis VM this doesn't work.
2018-08-26 15:40:47 +02:00
Charlie Fenton b0e8ef703e Mac (fix comments in previous commit): Patch ares_config.h and curl_config.h to not use clock_gettime(), which is defined in OS 10.12 SDK but was not available before OS 10.12. This caused the client built on OS 10.12 or OS 10.13 to crash on launch when run on older versions of OS X. 2018-02-22 06:23:16 -08:00
Charlie Fenton 8df90ff022 Mac: Patch ares_config.h andcurl_config.h to not use clock_gettime(), which is defined in OS 10.11 SDK but was not available before OS 10.11. This caused the client built on OS 10.11 or OS 10.12 to crash on launch when run on older versions of OS X. 2018-02-22 06:09:41 -08:00
Charlie Fenton ccc400182f Mac: Eliminate needing to update the script which build cURLs for each new version of c-ares or OpenSSL; get the names of current c-ares and OpenSSL directories from dependencyNames.sh. 2018-01-26 02:37:27 -08:00
Charlie Fenton 39aaa4c13d Mac: update party library dependencies 2018-01-25 04:47:18 -08:00
Christian Beer aaec0f9490 Build Mac: add --quiet option to dependency build scripts
By default stdout is printed on screen. For CI builds this is cluttering the log.

Note: /dev/stdout is not POSIX but is available on MacOS and popular Linux distributions.
2017-08-10 10:28:52 +02:00
Christian Beer c84d1d113b Build Mac: fix bugs and typos in build scripts
Also supress error message if xcpretty is not available.

reported by Charlie Fenton
2017-03-24 13:21:49 +01:00
Christian Beer 9c8697d520 Build Mac: use shared file for dependency build scripts
from Charlie Fenton
2017-03-23 17:47:26 +01:00
Christian Beer b27e56a20a Build Mac: fix bugs and add comments to build scripts
Fixes some copy and paste bugs reported by Charlie Fenton.
Added ScreenSaver target aka screensaver coordinator which was missing from the CI build script.
2017-03-23 15:09:56 +01:00
Christian Beer ab956d875b Build: restructure build process on Mac to make it more flexible
This allows to build BOINC on a Mac CI system as well as on a developers computer. See script headers for documentation.
The short version is:
* run ./3rdParty/buildMacDependencies.sh to compile all dependency libraries into 3rdParty/buildCache/mac (can be configured with --cache_dir)
* run ./mac_build/buildMacBOINC-CI.sh to compile all BOINC components using the build cache (--cache_dir can be used here too)

There are options for building debug versions but they are not very well tested. Currently you can't selectively build single targets using this.
2017-03-17 15:38:58 +01:00
Charlie Fenton 8037ace5e9 Mac: fix typos in comments in build scripts ad build instructions 2016-09-10 06:06:04 -07:00
Charlie Fenton 7b6c68c169 Mac: Update to build with openssl 1.1.0, c-ares 1.11.0 and curl 7.50.2. 2016-09-10 03:26:46 -07:00
Charlie Fenton 64eff512b5 Mac: Fix bug in script to build curl-7.47.1 with ssl v2 disabled. 2016-03-02 05:56:47 -08:00
Charlie Fenton c0a71e6c37 Mac: update Xcode project, build scripts and build instructions to use cURL-7.47.1, OpenSSL-1.0.2g and SQLite 3.11.0.
Note: OpenSSL-1.0.2g eliminates support for SSLv2, but cURL expects that support, so using their default builds causes link errors in the client. I work around this by having the build script patch curl-7.47.1/lib/curl_config.h to remove SSLv2 from cURL. An alternate solution would be to pass the enable-ssl2 argument to configure when building OpenSSL-1.0.2g,
2016-03-02 04:37:41 -08:00
Charlie Fenton f594e1018c Mac: update build scripts, Xcode project and build instructions for new third party libraries curl 7.46.0, openssl 1.0.2e, sqlite 3.9.2, FreeType-2.6.2. 2016-01-06 00:41:36 -08:00
Charlie Fenton 8fb082beda client: update Mac client to use curl 7.39.0 and openssl 1.0.1j 2014-11-17 16:21:03 -08:00
Charlie Fenton 2e6d0f97be client: Build Mac client as an x86_64 application rather than 32-bit, for compatibility with CUDA version 6.5 drivers. BOINC for the Mac now requires a 64-bit Intel Mac running at least OS 10.5. 2014-09-02 03:54:10 -07:00
Charlie Fenton 8eecb6092e Mac: update build scripts for OS 10.8 or later and current versions of dependent libraries:
- c-ares 1.10.0
 - curl 7.35.0
 - openssl 1.0.1f
 - sqlite 3.8.3
2014-02-12 04:54:28 -08:00
Charlie Fenton e65da1290d Mac: update build scripts, source files and Xcode project to allow building with Xcode 4.3 and Xcode 4.5
svn path=/trunk/boinc/; revision=25856
2012-07-10 12:18:21 +00:00
Charlie Fenton cd1ad97464 Mac: update build scripts, source files and Xcode project to allow building with Xcode 4.3 and Xcode 4.5
svn path=/trunk/boinc/; revision=25855
2012-07-10 09:28:17 +00:00
Charlie Fenton f64cb7d62f Mac: update build scripts to work with Xcode 4.3 for Lion and later
svn path=/trunk/boinc/; revision=25850
2012-07-06 12:11:28 +00:00
Charlie Fenton 3be6e7ab11 Mac client: Upgrade to curl 7.26.60 and c-ares 1.9.1
svn path=/trunk/boinc/; revision=25795
2012-06-26 07:24:07 +00:00
Charlie Fenton 785a0b49c2 Mac: Update Mac build scripts, XCode project and source files to allow automated builds under OS 10.7 Lion and XCode 4.2
svn path=/trunk/boinc/; revision=24414
2011-10-18 12:42:53 +00:00
Charlie Fenton 7522d192b8 Mac: Update to libcurl 7.21.7 and c-ares 1.7.4
svn path=/trunk/boinc/; revision=23798
2011-07-06 11:02:50 +00:00
Charlie Fenton 0dcd647250 Mac: Update build scripts, build examples and documentation
svn path=/trunk/boinc/; revision=22489
2010-10-11 11:59:05 +00:00
Charlie Fenton ccfaa5af74 Mac: Update build scripts and documentation
svn path=/trunk/boinc/; revision=22477
2010-10-08 08:41:36 +00:00
Charlie Fenton 3ce8ac0b9e Mac: Build with c-ares 1.6.0 instead of c-ares 1.7.0
svn path=/trunk/boinc/; revision=21079
2010-04-04 01:09:14 +00:00
Charlie Fenton dc43748b5c Mac: Update XCode project and build scripts to build under XCode 3.2.1 and OS 10.6 Snow Leopard
svn path=/trunk/boinc/; revision=19781
2009-12-04 14:39:35 +00:00
Charlie Fenton 2767a9a660 Mac client: update build scripts, XCode project for curl-7.19.7 and c-ares 1.7.0
svn path=/trunk/boinc/; revision=19780
2009-12-04 06:03:11 +00:00
Charlie Fenton 733551a143 Mac: Update libCurl to 7.19.4
svn path=/trunk/boinc/; revision=17440
2009-03-03 09:07:02 +00:00
Charlie Fenton 73dc776567 pdate various source filed to GPL 3
svn path=/trunk/boinc/; revision=17330
2009-02-21 02:42:50 +00:00
Charlie Fenton 3fc42e1a4e Mac client: fix bug in build script so that curl-7.19.2 actually does build with c-ares 1.6.0. Fixes #830.
svn path=/trunk/boinc/; revision=16964
2009-01-21 07:37:59 +00:00
Charlie Fenton a9dd369609 update Mac build scripts, XCode project for curl-7.19.2, c-ares 1.6.0
svn path=/trunk/boinc/; revision=16716
2008-12-17 23:24:17 +00:00
Charlie Fenton e722b83667 client: Update Mac cURL build script for cURL-7.19.0
svn path=/trunk/boinc/; revision=16100
2008-10-01 06:46:07 +00:00
Charlie Fenton 300bbe2484 client: Update Mac XCode project, build scripts and documentation for c-ares 1.5.3 and cURL-7.19.0
svn path=/trunk/boinc/; revision=16099
2008-10-01 06:30:34 +00:00
Charlie Fenton fadc645854 Mac: revise build scripts for c-ares and cURL to work when there are spaces in the paths
svn path=/trunk/boinc/; revision=15197
2008-05-14 09:57:46 +00:00
Charlie Fenton 1609e03832 Mac: In build scripts: fix bug, add checks for needed SDKs; update build documentation (from Bernd Machenschalk.)
svn path=/trunk/boinc/; revision=14808
2008-02-27 12:01:55 +00:00
Charlie Fenton 8e994d0fef Mac: Update libCurl to 7.18.0, build with c-ares-1.5.1 to enable async DNS name resolving; Mac API: move mac_icon.C into libboinc_graphics2.a instead of libboinc_api.a
svn path=/trunk/boinc/; revision=14631
2008-01-29 11:18:45 +00:00
Charlie Fenton e7390f278a Make curl, jpeg build scripts more robust
svn path=/trunk/boinc/; revision=14417
2007-12-19 23:58:31 +00:00