Commit Graph

20 Commits

Author SHA1 Message Date
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
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
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 9c8697d520 Build Mac: use shared file for dependency build scripts
from Charlie Fenton
2017-03-23 17:47:26 +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 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 8ef2d061b8 client: Update Mad build script, Xcode project and build instructions to use OpenSSL-1.0.1h. 2014-06-06 17:09:32 -07:00
Charlie Fenton 98a8b08d98 client: Update to OpenSSL 1.0.1g on Macitosh 2014-04-14 18:38:39 -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 50a55d0d40 Mac: update build of client from openssl-1.0.1c to openssl-1.0.1e 2013-07-30 01:01:08 -07: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 f940e11dff Mac client: build libssl.a and libcrypto.a from openssl 1.0.1c and static link them
svn path=/trunk/boinc/; revision=25797
2012-06-26 07:54:38 +00:00