Commit Graph

422 Commits

Author SHA1 Message Date
Andrew
601c7a3c9d
note custom osxcross install directory 2021-09-11 20:42:56 -05:00
Thomas Pöchtrager
26ebac2689 build_compiler_rt.sh:
* Speed up build by building architectures parallely
* Fix symlink issue
2021-08-03 18:38:41 +02:00
Thomas Pöchtrager
0cc7b8f7dd build_compiler_rt.sh: Misc fixes. Closes #289. 2021-08-03 12:24:44 +02:00
Thomas Pöchtrager
551d192714 build_compiler_rt.sh: Support arm64 and arm64e. Closes #258, #259, #286. 2021-07-31 20:16:27 +02:00
Thomas Pöchtrager
fc00ecbfda
Update SDK download link (closes #287) 2021-07-31 13:35:23 +02:00
Thomas Pöchtrager
5710723c52
Merge pull request #288 from sandrogauci/master
added arm64 switch to osxcross-macports
2021-07-30 14:53:02 +02:00
Sandro Gauci
88f627a812 added arm64 switch on osxcross-macports 2021-07-30 10:28:25 +02:00
Thomas Pöchtrager
de6c72eff2 build_compiler_rt.sh: Install libraries and headers automatically if we have write permissions to the according directories 2021-07-17 12:07:56 +02:00
Thomas Pöchtrager
bce9988c71 gen_sdk_package_pbzx.sh: Build pbzx with -O2 and -Wall 2021-07-17 12:07:28 +02:00
Thomas Pöchtrager
5bfab91407
Merge pull request #284 from akien-mga/compiler-rt-automated-install
compiler-rt: Add option to automate install process
2021-07-15 16:28:27 +02:00
Rémi Verschelde
b875d7c136
compiler-rt: Add option to automate install process
Also mention that compiler-rt can be needed to build code using
`__builtin_available()`.

Fixes #278.
2021-07-12 13:34:37 +02:00
Thomas Pöchtrager
447cf3b3ea
Merge pull request #282 from monospacedmagic/patch-1
Increase maximum disk space required for packaging SDK
2021-06-20 14:09:49 +02:00
Luci
8d99a59c5d
Increase maximum disk space required for packaging SDK
I tried to follow the instructions outlined in PACKAGING THE SDK,
and as it turns out the instructions for Linux required more than
40GB of disk space. That's why I think it would be best to tell
readers that they might need up to 45GB of space rather than
up to 25GB. I'm not sure if the instructions are simply outdated
in this regard or if the space requirements are just different for
other reasons, however I highly suspect the former to be the case.
2021-06-20 14:04:32 +02:00
Thomas Pöchtrager
1c23b94bad Support latest Xcode 2021-06-09 08:43:47 +02:00
Thomas Pöchtrager
8a716a43a7
Merge pull request #277 from lucor/patch-1
verify_sdk_version: exit with code 1 if the SDK is not found
2021-05-08 13:17:25 +02:00
Luca Corbo
1c8440a804
verify_sdk_version: exit with code 1 if the SDK is not found
This change updates the exit code for `verify_sdk_version` to `1` function if the SDK is not found.
This should help to stop the build in automatic scripts when the SDK_VERSION env variable is set to a invalid value.
2021-05-08 13:15:48 +02:00
Thomas Pöchtrager
5771a84795 Bump GCC version to 10.3.0 2021-04-08 15:30:01 +02:00
Thomas Pöchtrager
9a2c6e344f Remove ldid 2021-04-02 14:58:05 +02:00
Thomas Pöchtrager
3351f5573c Update cctools to 973.0.1 and ld64 to 609 2021-04-02 14:58:05 +02:00
Thomas Pöchtrager
fca436a756
Merge pull request #270 from Gcenx/master
tools.sh: Workaround hardcoded paths
2021-03-30 18:41:36 +02:00
Dean M Greer
5fb7f5496b tools.sh: Workaround hardcoded paths
As OpenSSL is expected to be in a standard UNIX location but that's not always the case on macOS, this works around the issue regardless of package manager used as long as pkg-config is installed into $PATH

Macports default prefix is /opt/local
Homebrew on M1 uses /opt/homebrew
2021-03-29 21:45:29 -04:00
Thomas Pöchtrager
dd4f8f329d Update build_compiler_rt.sh 2021-03-27 20:14:33 +01:00
Thomas Pöchtrager
00b9083b07 osxcross-macports:
* Add 11.x target
* Enable HTTPS
2021-03-27 18:56:46 +01:00
Thomas Pöchtrager
61925a29c4
Merge pull request #266 from SuperQ/fix_complete_file_order
Fix build_complete_file in get_sources
2021-03-23 19:38:42 +01:00
Ben Kochie
7838690391
Fix build_complete_file in get_sources
Move setting build_complete_file to after fetching project_name using
get_project_name_from_url. Avoids empty ".FOO_build_complete" file name.
* Fix up a number of shellcheck issues in get_sources().

Signed-off-by: Ben Kochie <superq@gmail.com>
2021-03-23 18:02:41 +01:00
Thomas Pöchtrager
da2c3d4ff6 Update README 2021-03-20 15:40:59 +01:00
Thomas Pöchtrager
4ec572e392 Add 'OSXCROSS_ENABLE_WERROR_IMPLICIT_FUNCTION_DECLARATION' env variable to emulate Xcode 12's behavior 2021-03-20 15:05:51 +01:00
Thomas Pöchtrager
035cc17033 Support recent SDKs 2021-02-11 13:16:47 +01:00
Thomas Pöchtrager
269ed97a6d
Merge pull request #254 from rokm/xcode_cmdline_tools
Add scripts for extracting SDKs from Command Line Tools for Xcode
2021-02-09 19:26:20 +01:00
Rok Mandeljc
3a4335d042 Add scripts for extracting SDKs from Command Line Tools for Xcode
Being able to extract SDKs from Command Line Tools for Xcode instead
of the full Xcode package saves bandwidth, disk space, and time.

Two scripts are added:
* tools/gen_sdk_package_tools.sh: extracts SDKs from installed
  Command Line Tools on macOS (/Library/Developer/CommandLineTools)
  or from a path specified via XCODE_TOOLS_DIR
* tools/gen_sdk_package_tools_dmg.sh: unpacks the content of provided
  Command_Line_Tools_for_Xcode.dmg and extracts SDKs via the above
  script.

Tested with Command Line Tools for Xcode 12.x.
2021-01-29 21:59:49 +01:00
Thomas Pöchtrager
4287300a5c Add support for 11.x SDKs (#251) 2020-12-25 09:30:44 +01:00
Thomas Pöchtrager
7c090bd8cd Update build_compiler_rt.sh 2020-11-20 08:17:23 +01:00
Thomas Pöchtrager
9d7f6c2461 More Android/Termux adjustments 2020-10-14 09:24:50 +02:00
Thomas Pöchtrager
45d2f7ec2e Build required dependency 'ldid'
-> Required in cctools-port (fake signing ARM binaries)
2020-10-04 17:57:19 +02:00
Thomas Pöchtrager
364703ca09 Fix for #239 2020-09-08 12:43:40 +02:00
Thomas Pöchtrager
2733413b68 Fix '-mmacosx-version-min=' for Clang 10.0.x. 2020-09-04 12:51:13 +02:00
Thomas Pöchtrager
29500b2093 Fix 'oa64e-clang' architecture (arm64 -> arm64e) 2020-09-03 08:55:00 +02:00
Thomas Pöchtrager
a791ad4fca build_clang: Bump Clang version to 10.0.1 2020-08-27 13:53:23 +02:00
Thomas Pöchtrager
02008c9d79 build_clang: Fix mirror annoyances 2020-08-27 13:53:23 +02:00
Thomas Pöchtrager
586bde6769 Clang 11 is actually able to parse '-mmacosx-version-min=11.x' 2020-08-27 13:53:23 +02:00
Thomas Pöchtrager
6d96df5180 Revert "Update download location and filename for LLVM and Clang source tarballs."
This reverts commit a2ccac44bc.
2020-08-27 13:53:23 +02:00
Thomas Pöchtrager
cc1823a726
Merge pull request #230 from abrodkin/clang-auto-install
build_clang.sh: Allow unmanned instllation
2020-08-25 12:11:27 +02:00
Thomas Pöchtrager
956a2ea676 * Add aarch64-* symlinks for arm64-*. Automake doesn't recognize arm64.
* Some cleanup
2020-08-20 18:46:13 +02:00
Thomas Pöchtrager
749cf4acad Bump GCC version to 10.2.0 2020-08-20 18:46:13 +02:00
Thomas Pöchtrager
4dfbc45961
Update build requirements (#235) 2020-08-18 18:33:34 +02:00
Thomas Pöchtrager
acb4328167
Typo 2020-08-18 12:41:05 +02:00
Thomas Pöchtrager
ec2abd91f2
Another README update 2020-08-17 19:40:59 +02:00
Thomas Pöchtrager
c5f5997ec4
Update README.md 2020-08-17 19:23:31 +02:00
Thomas Pöchtrager
536dc13153 * Update README
* Update ChangeLog
* Mac OS X -> macOS
2020-08-17 19:19:47 +02:00
Thomas Pöchtrager
5489149683 More work on ARM target 2020-08-16 19:26:58 +02:00