summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/secondary/compiler-rt/lib/builtins
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Revert "gn build: (manually) try to merge 1689ad27af""Nico Weber2019-11-271-0/+2
| | | | | This reverts commit 88276ddbfea753ac13da5a64c2020b7b0a06617f. The original change relanded.
* gn build: (manually) merge 9e676d9c7eNico Weber2019-11-251-0/+1
|
* Revert "gn build: (manually) try to merge 1689ad27af"Nico Weber2019-11-191-2/+0
| | | | | This reverts commit e4ec2ecf6d4768d681a89263c0a4d29a7b7761ad. 1689ad27af was reverted as well.
* gn build: (manually) try to merge 1689ad27afNico Weber2019-11-181-0/+2
|
* gn build: Add support for cross-compiling the builtins and profile runtimes ↵Peter Collingbourne2019-10-311-68/+64
| | | | | | for Android aarch64 and arm. Differential Revision: https://reviews.llvm.org/D69681
* gn build: s/target_/current_/g in compiler-rt/lib/{builtins,profile}.Peter Collingbourne2019-10-311-17/+17
| | | | | | Fixes stage2 cross compilation. Differential Revision: https://reviews.llvm.org/D69680
* gn build: pacify "gn format" after 371102Nico Weber2019-09-131-0/+2
| | | | llvm-svn: 371858
* gn build: (manually) merge r358706Nico Weber2019-09-051-18/+24
| | | | llvm-svn: 371102
* gn build: (manually) merge r371003Nico Weber2019-09-051-0/+3
| | | | llvm-svn: 371091
* gn build: Add build files for compiler-rt/lib/profileNico Weber2019-07-311-1/+3
| | | | | | Differential Revision: https://reviews.llvm.org/D65518 llvm-svn: 367450
* gn build: Make builtin library build on macOSNico Weber2019-07-311-1/+5
| | | | | | | | For now, it only builds the x86_64 slice. Differential Revision: https://reviews.llvm.org/D65513 llvm-svn: 367449
* gn build: Fix redundant object files in builtin lib.Nico Weber2019-07-311-53/+73
| | | | | | | | | | | | | | | | | | | | | | compiler-rt's builtin library has generic implementations of many functions, and then per-arch optimized implementations of some. In the CMake build, both filter_builtin_sources() and an explicit loop at the end of the build file (see D37166) filter out the generic versions if a per-arch file is present. The GN build wasn't doing this filtering. Just do the filtering manually and explicitly, instead of being clever. While here, also remove files from the mingw/arm build that are redundantly listed after D39938 / r318139 (both from the CMake and the GN build). While here, also fix a target_os -> target_cpu typo. Differential Revision: https://reviews.llvm.org/D65512 llvm-svn: 367448
* gn build: Wrap two comments to 80 columnsNico Weber2019-07-221-2/+3
| | | | llvm-svn: 366763
* [GN] Generation failure caused by trailing space in file namePetr Hosek2019-06-231-1/+1
| | | | | | | | | | | | | | | | | | When I executed gn.py gen out/gn I got the following error: ERROR at //compiler-rt/lib/builtins/BUILD.gn:162:7: Only source, header, and object files belong in the sources of a static_library. //compiler-rt/lib/builtins/emutls.c is not one of the valid types. "emutls.c ", ^---------- See //compiler-rt/lib/BUILD.gn:3:5: which caused the file to be included. "//compiler-rt/lib/builtins", ^--------------------------- It turns out to be that the latest gn doesn't accept ill-format file name. And the emutls.c above has a trailing space. Remove the trailing space should work. Patch By: myhsu Differential Revision: https://reviews.llvm.org/D63449 llvm-svn: 364162
* [gn] Support for per-target runtime directory layoutPetr Hosek2019-04-061-1/+1
| | | | | | | | | | This change also introduces the clang_enable_per_target_runtime_dir to enable the use of per-target runtime directory layout which is the equivalent of LLVM_ENABLE_PER_TARGET_RUNTIME_DIR CMake option. Differential Revision: https://reviews.llvm.org/D60332 llvm-svn: 357850
* gn build: Pacify `gn format`Nico Weber2019-04-051-0/+8
| | | | llvm-svn: 357830
* [gn] Support for building compiler-rt builtinsPetr Hosek2019-04-051-0/+476
This is support for building compiler-rt builtins, The library build should be complete for a subset of supported platforms, but not all CMake options have been replicated in GN. We always use the just built compiler to build all the runtimes, which is equivalent to the CMake runtimes build. This simplifies the build configuration because we don't need to support arbitrary host compiler and can always assume the latest Clang. With GN's toolchain support, this is significantly more efficient than the CMake runtimes build. Differential Revision: https://reviews.llvm.org/D60331 llvm-svn: 357821
OpenPOWER on IntegriCloud