summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/platforms
Commit message (Collapse)AuthorAgeFilesLines
* [CMake] Add variable IOS to iOS toolchainChris Bieneman2017-02-171-0/+1
| | | | | | This is useful for some edge cases where detecting things gets tricky. Specifically LLDB needs this to support iOS because CMake doesn't support running tests using obj-c code. llvm-svn: 295392
* cmake: Simplify the iOS.cmake toolchainJustin Bogner2016-02-121-40/+15
| | | | | | | | | | | | | | | - Remove a comment that was clearly copy pasted from Android.cmake and isn't relevant. - Remove the toolchain's sensitivity to the environment. It's less error prone to just allow users to set CMAKE_OSX_SYSROOT if they want to use a custom SDK. - Stop explicitly setting -mios-version-min to the default value. It just adds needless complexity. This makes building the native tablegen work for me even when SDKROOT is set in the environment (or passed in as -DCMAKE_OSX_SYSROOT). llvm-svn: 260763
* Doing some cleanup to the iOS toolchain.Chris Bieneman2015-03-121-9/+23
| | | | | | | * There is no reason to require SDKROOT as an environment variable because we can derive it from xcrun * Setting CMAKE_RANLIB makes our static archives usable llvm-svn: 232053
* Updating iOS.cmake to work with the latest Xcode and iOS 8 SDK.Chris Bieneman2015-01-301-4/+22
| | | | llvm-svn: 227523
* Enabling LLVM & Clang to be cross-compiled using CMake from a single ↵Chris Bieneman2014-09-031-0/+47
| | | | | | | | configuration command line The basic idea is similar to the existing cross compilation support. A directory must be configured to build host versions of tablegen tools and llvm-config. This directory can be user provided (and configured), or it can be created during the build. During a build the native build directory will be configured and built to supply the tablegen tools used during the build. A user could also explicitly provide the tablegen executables to run on the CMake command line. llvm-svn: 217105
* Build PIE binaries when cross-compiling to Android.Evgeniy Stepanov2014-02-191-1/+2
| | | | | | This change also removes CMAKE_LINK_FLAGS setting that seems to be ignored by cmake. llvm-svn: 201654
* Remove -arm-enable-ehabi from Android build rules. It's enabled by default.Evgeniy Stepanov2014-01-291-1/+1
| | | | llvm-svn: 200391
* Allow overriding the location of C/C++ compilers in Android CMake build.Evgeniy Stepanov2013-05-291-2/+9
| | | | | | Patch by Greg Fitzgerald. llvm-svn: 182831
* CMake toolchain file for Android NDK.Evgeniy Stepanov2012-09-111-0/+21
llvm-svn: 163612
OpenPOWER on IntegriCloud