Skip to content

Commit

Permalink
[CMake] Add more runtime configurations.
Browse files Browse the repository at this point in the history
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@312302 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
aoli-al committed Sep 1, 2017
1 parent fcd77e8 commit 59cb965
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtimes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_SOURCE_DIR})
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.
Expand Down

0 comments on commit 59cb965

Please sign in to comment.