mirror of
https://github.com/apache/arrow.git
synced 2026-10-28 16:47:19 +08:00
Move all cmake files to cpp/cmake_modules, fix up sdist tarball so it can be built/installed
Change-Id: I1d0a8dcaa210d981e9e6b2d5ad28a9e32eb1bc70
This commit is contained in:
1 parent
33d446dd4d
commit
310af1b7c4
13 files changed
+13
-8
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+11
-1
@@ -21,7 +21,17 @@
|
||||
cmake_minimum_required(VERSION 2.7)
|
||||
project(pyarrow)
|
||||
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake_modules")
|
||||
# Running from a Python sdist tarball
|
||||
set(LOCAL_CMAKE_MODULES "${CMAKE_SOURCE_DIR}/cmake_modules")
|
||||
if (EXISTS "${LOCAL_CMAKE_MODULES}")
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${LOCAL_CMAKE_MODULES})
|
||||
endif()
|
||||
|
||||
# Running from a git source tree
|
||||
set(CPP_CMAKE_MODULES "${CMAKE_SOURCE_DIR}/../cpp/cmake_modules")
|
||||
if (EXISTS "${CPP_CMAKE_MODULES}")
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CPP_CMAKE_MODULES})
|
||||
endif()
|
||||
|
||||
include(CMakeParseArguments)
|
||||
|
||||
|
||||
+1
-2
@@ -2,9 +2,8 @@ include README.md
|
||||
include LICENSE.txt
|
||||
|
||||
global-include CMakeLists.txt
|
||||
graft pyarrow
|
||||
graft cmake_modules
|
||||
recursive-include src/pyarrow *.cc *.h
|
||||
recursive-include pyarrow *.pxd
|
||||
|
||||
global-exclude *.so
|
||||
global-exclude *.pyc
|
||||
|
||||
Symlink
+1
@@ -0,0 +1 @@
|
||||
../cpp/cmake_modules
|
||||
@@ -1 +0,0 @@
|
||||
../../cpp/cmake_modules/BuildUtils.cmake
|
||||
@@ -1 +0,0 @@
|
||||
../../cpp/cmake_modules/CompilerInfo.cmake
|
||||
@@ -1 +0,0 @@
|
||||
../../cpp/cmake_modules/FindNumPy.cmake
|
||||
@@ -1 +0,0 @@
|
||||
../../cpp/cmake_modules/FindPythonLibsNew.cmake
|
||||
@@ -1 +0,0 @@
|
||||
../../cpp/cmake_modules/SetupCxxFlags.cmake
|
||||
Reference in new issue
Block a user