Commit Graph

39 Commits

Author SHA1 Message Date
Thomas Pöchtrager
96a651cfa7 Support both short and full SDK version naming (e.g., 14 and 14.0) (closes #377)
Remove troublesome libc++ IWYU mapping file which may cause compiler errors (https://github.com/include-what-you-use/include-what-you-use/tree/master)
Update build_compiler_rt.sh
2023-08-17 21:52:37 +02:00
Thomas Pöchtrager
d291cb7b31
Merge pull request #322 from ancwrd1/master
Make sure $BUILD_DIR exists before building compiler-rt
2023-08-17 20:30:39 +02:00
Thomas Pöchtrager
76e2cb9fbb Update build_compiler_rt.sh for Clang 15 & 16. 2023-08-17 20:09:59 +02:00
Christoph Scholtes
12f179126d Remove existing compiler-rt directory if it is not a build project. 2023-07-15 07:01:55 -06:00
Thomas Pöchtrager
35e17cb4df build_compiler_rt.sh: Fix current git build of compiler-rt 2022-06-12 16:41:56 +02:00
Rémi Verschelde
d5461380a1 compiler_rt: Switch Clang 14 version to release/14.x since it's stable
This fixes build with Clang 14.0 on Fedora 36, and might enable building
against in-dev Clang 15, but I haven't tested it.

Fixes #340.
2022-05-04 14:39:39 +02:00
Dmitry Pankratov
ffe4407c3b Make sure $BUILD_DIR exists before building compiler-rt 2022-01-02 10:38:44 +01:00
Thomas Pöchtrager
e59a63461d Fix for #310 2021-10-26 09:12:59 +02:00
Dmitry Pankratov
b5620c53ac Fix for compiler-rt 13.x build 2021-10-17 19:50:01 +02: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
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
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
dd4f8f329d Update build_compiler_rt.sh 2021-03-27 20:14:33 +01:00
Thomas Pöchtrager
7c090bd8cd Update build_compiler_rt.sh 2020-11-20 08:17:23 +01:00
Thomas Pöchtrager
261de10511 Support ARM target 2020-08-15 20:07:54 +02:00
Thomas Pöchtrager
1b731164df Fix for #221 2020-04-11 22:30:28 +02:00
Thomas Pöchtrager
af53af4886 build_compiler_rt.sh: Silence 10.5 deprecation warning 2020-04-10 19:43:00 +02:00
Thomas Pöchtrager
6edf1ca936 * Add xcodebuild stub tool. Only '-version' is supported.
* build_compiler_rt.sh: Change git repository. The llvm.org one is no longer synced.
* build_compiler_rt.sh: Add check for os/lock.h.
* xcrun: "Support" -show-sdk-platform-path.
* sw_vers: Output 0CFFFF for Build Version.
2020-03-10 16:49:39 +01:00
Thomas Pöchtrager
2f504fe4ba * Update cctools to 927.0.2 and ld64 to 450.3
* Added back support for OpenBSD
* Some cleanup and various fixes
2019-11-02 13:26:21 +01:00
Thomas Pöchtrager
379f7648c3 Make TARGET_DIR configurable (#108, #137, #201) 2019-10-23 16:06:00 +02:00
Thomas Pöchtrager
49e49b1c56 build_compiler_rt.sh: Fix building with LLVM trunk once again 2019-10-23 14:36:47 +02:00
Thomas Pöchtrager
d3392f4eae build_compiler_rt.sh: Fix building with LLVM trunk 2019-10-09 11:47:04 +02:00
Thomas Pöchtrager
6d98ef2979 build_compiler_rt: Support Clang 9.0 2019-09-14 11:38:18 +02:00
Thomas Pöchtrager
68bdbd9452 New:
* Added support for TAPIv3 stubs (including "zippering" target)
* Added support for MacOSX SDKs up to 10.14
* Added new SDK packaging script for SDKs that end with ".xip" (tools/gen_sdk_package_pbzx.sh <xcode.xip>) (tested up to Xcode 10.2.1)
* Updated cctools to 921 and ld64 to 409.12

Fixed:
* Implemented fix for https://github.com/tpoechtrager/osxcross/issues/171
* Implemented fix for https://github.com/tpoechtrager/osxcross/issues/178
* Implemented fix for https://github.com/tpoechtrager/osxcross/issues/182

Changed:
* cctools, ld64, apple-libtapi and xar are now "git clone"'d and no longer come with OSXCross.

Removed:
* Support for Cygwin and *BSD (besides FreeBSD)
* Support for building OSXCross with GCC
2019-06-01 19:57:44 +02:00
Thomas Plöchtrager
72a99e4ecd Update build_compiler_rt.sh 2019-05-25 18:03:45 +02:00
Thomas Pöchtrager
9f8eb9a381 Update build_compiler_rt.sh 2018-12-07 17:14:00 +01:00
Thomas Pöchtrager
c76352d614 Update build_compiler_rt.sh for Clang 5.0 and 6.0 (trunk) 2017-08-13 23:48:37 +02:00
Thomas Pöchtrager
5702a9ab39 Update cctools to 895 and ld64 to 274.2
Other changes:
* Add USE_CLANG_AS build.sh option
* build_clang.sh: Update Clang version to 3.9.1
* build_compiler_rt.sh: Adjustments for Clang 4.0 and Clang 5.0
2017-02-05 13:39:54 +01:00
Hartmut Goebel
f9515fe9e5 Add descriptive header to build scripts. 2017-01-18 10:47:13 +01:00
Thomas Pöchtrager
7a33b91a50 build_compiler_rt.sh: Add proper Clang 3.9 support 2016-09-23 21:35:16 +02:00
Thomas Pöchtrager
447e99777b Update cctools to 877.8 and ld64 to 253.9 2016-05-09 22:18:25 +02:00
Thomas Pöchtrager
f51b758db4 Clang 3.8 adjustments
... and while I am already there also update the copyright years
2016-02-27 09:40:10 +01:00
Thomas Pöchtrager
a83a2b12be build_compiler_rt.sh: Do not attempt to build an x86_64h slice when using an SDK with .tbd stubs.
This is an Xcode 7 regression.
More details can be found at: https://llvm.org/bugs/show_bug.cgi?id=24776
2015-10-28 21:21:51 +01:00
Thomas Pöchtrager
1c6e42e2f2 cleanup 2015-07-20 21:13:36 +02:00
Thomas Pöchtrager
29a5fee522 * add windows support via cygwin
* add openbsd and dragonfly support
* replace `` with $() in bash scripts
* misc other changes
2015-07-19 22:28:10 +02:00
Thomas Pöchtrager
db6285b633 add preliminary llvm-3.8 support 2015-07-17 19:52:54 +02:00
Thomas Pöchtrager
2d9f410c8a add compiler-rt build script 2015-06-27 19:26:22 +02:00