Commit Graph

440 Commits

Author SHA1 Message Date
Thomas Pöchtrager
336b65f512
Merge pull request #350 from DavidEGrayson/osx_sdk_robust
Make gen_sdk_package.sh better at finding SDKs
2022-06-06 15:39:25 +02:00
David (Pololu)
2752b1c9e2 gen_sdk_package.sh: Use a more general pattern for finding the SDKs
so the script has some hope of working when macOS is released.
Also make it show an error message if no SDKs are found instead of
just stopping.
2022-06-05 14:17:15 -07:00
Thomas Pöchtrager
610542781e
Merge pull request #330 from japhib/add_sdk_12.1
Add support for Xcode SDK version 12.1
2022-04-21 08:31:02 +02:00
Jan Bergeson
60076247aa Add support for Xcode SDK version 12.1 2022-03-15 15:56:21 -06:00
Thomas Pöchtrager
be2b79f444
Merge pull request #327 from lucor/gen_sdk_package_tools_dmg-pkg-not-standard-name
gen_sdk_package_tools_dmg: extract packages with not standard name
2022-01-21 20:53:03 +01:00
lucor
95285e589f
gen_sdk_package_tools_dmg: extract packages with not standard name
This commit allows to extract the Command Line Tools pkg with a not standard name from the .dmg.
For example the Command_Line_Tools_macOS_10.11_for_Xcode_8.2.dmg contains "Command Line Tools (macOS El Capitan version 10.11).pkg" and the Command_Line_Tools_OS_X_10.11_for_Xcode_7.3.dmg contains "Command Line Tools (OS X 10.11).pkg"
2022-01-21 20:42:49 +01:00
Thomas Pöchtrager
062922bbb8
Merge pull request #321 from crazy-max/macports-12
osxcross-macports: 12 target
2022-01-01 19:09:16 +01:00
CrazyMax
aee7305d8b
osxcross-macports: 12 target 2021-12-31 18:13:27 +01:00
Thomas Pöchtrager
d904031e7e
Merge pull request #316 from realnc/fix-cmake-build-options
Fix cmake wrapper breaking cmake build options
2021-11-23 16:24:25 +01:00
Nikos Chantziaras
23f82c2057
Fix cmake wrapper breaking cmake build options
Since cmake 3.20, "-D" prevents any build options (--build, --target, -j,
etc) from working. It will abort with an "unrecognized argument" error.

Fix the issue by passing the toolchain file as an env variable to cmake,
not with -D.
2021-11-23 17:14:40 +02:00
Thomas Pöchtrager
e59a63461d Fix for #310 2021-10-26 09:12:59 +02:00
Thomas Pöchtrager
de6ec57895
Merge pull request #309 from ancwrd1/master
Fix for compiler-rt 13.x build
2021-10-17 19:58:54 +02:00
Dmitry Pankratov
b5620c53ac Fix for compiler-rt 13.x build 2021-10-17 19:50:01 +02:00
Thomas Pöchtrager
0f87f567df
Merge pull request #304 from cschol/github-tarball-download
Update tarball download location to Github
2021-09-24 14:07:17 +02:00
Christoph Scholtes
2eadd25c4c Update tarball download location to Github to accomodate new download site format. 2021-09-23 18:28:21 -06:00
Thomas Pöchtrager
daeff0701c
Merge pull request #302 from mite-user/master
osxcross-macports: add package version check
2021-09-22 09:00:58 +02:00
mite-user
532b955de3 osxcross-macports: add package version check 2021-09-19 14:51:07 +03:00
Thomas Pöchtrager
7992d9f314
Merge pull request #297 from mcandre/patch-1
note custom osxcross install directory
2021-09-12 07:27:49 +02:00
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