[llvm] r312302 - [CMake] Add more runtime configurations.

Leo Li via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 31 18:05:59 PDT 2017


Author: aoli
Date: Thu Aug 31 18:05:59 2017
New Revision: 312302

URL: http://llvm.org/viewvc/llvm-project?rev=312302&view=rev
Log:
[CMake] Add more runtime configurations.

Summary:
- `project` is required when `runtime/CMakeList.txt` is the top-level `CMakeList.txt` file. This will establish version and policy settings.

- `-D_FILE_OFFSET_BITS=64` should never be set for Android runtimes.

Reviewers: srhines, pirama, beanz

Subscribers: llvm-commits, srhines, mgorny

Differential Revision: https://reviews.llvm.org/D35648

Modified:
    llvm/trunk/runtimes/CMakeLists.txt

Modified: llvm/trunk/runtimes/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/runtimes/CMakeLists.txt?rev=312302&r1=312301&r2=312302&view=diff
==============================================================================
--- llvm/trunk/runtimes/CMakeLists.txt (original)
+++ llvm/trunk/runtimes/CMakeLists.txt Thu Aug 31 18:05:59 2017
@@ -24,6 +24,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_
   endfunction()
 
   cmake_minimum_required(VERSION 3.4.3)
+  project(Runtimes C CXX ASM)
 
   # Add the root project's CMake modules, and the LLVM build's modules to the
   # CMake module path.




More information about the llvm-commits mailing list