-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
934 additions
and
2,154 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,3 +30,5 @@ jobs: | |
|
||
- name: Build wheels for ${{ matrix.os }} | ||
uses: pypa/[email protected] | ||
env: | ||
MACOSX_DEPLOYMENT_TARGET: "10.14" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
cmake_minimum_required(VERSION 3.18) | ||
project(${SKBUILD_PROJECT_NAME} LANGUAGES C CXX) | ||
set(CMAKE_C_STANDARD 17) | ||
set(CMAKE_C_STANDARD_REQUIRED ON) | ||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||
|
||
if (MSVC) | ||
else() | ||
add_compile_options(-Wall -Wextra) | ||
endif() | ||
|
||
find_package(Python COMPONENTS Interpreter Development.Module NumPy REQUIRED) | ||
|
||
# Detect the installed nanobind package and import it into CMake | ||
execute_process( | ||
COMMAND "${Python_EXECUTABLE}" -m nanobind --cmake_dir | ||
OUTPUT_STRIP_TRAILING_WHITESPACE OUTPUT_VARIABLE NB_DIR) | ||
list(APPEND CMAKE_PREFIX_PATH "${NB_DIR}") | ||
find_package(nanobind CONFIG REQUIRED) | ||
|
||
if(WIN32) | ||
set(TABLEAU_DOWNLOAD_URL "https://downloads.tableau.com/tssoftware//tableauhyperapi-cxx-windows-x86_64-release-main.0.0.18441.r118d57bb.zip") | ||
elseif(APPLE) | ||
set(TABLEAU_DOWNLOAD_URL "https://downloads.tableau.com/tssoftware//tableauhyperapi-cxx-macos-x86_64-release-main.0.0.18441.r118d57bb.zip") | ||
else() | ||
set(TABLEAU_DOWNLOAD_URL "https://downloads.tableau.com/tssoftware//tableauhyperapi-cxx-linux-x86_64-release-main.0.0.18441.r118d57bb.zip") | ||
endif() | ||
|
||
include(FetchContent) | ||
FetchContent_Declare( | ||
tableauhyperapi-cxx | ||
URL "${TABLEAU_DOWNLOAD_URL}" | ||
) | ||
|
||
FetchContent_MakeAvailable(tableauhyperapi-cxx) | ||
list(APPEND CMAKE_PREFIX_PATH "${tableauhyperapi-cxx_SOURCE_DIR}/share/cmake") | ||
find_package(tableauhyperapi-cxx CONFIG REQUIRED) | ||
|
||
|
||
FetchContent_Declare(nanoarrow-project | ||
GIT_REPOSITORY https://github.com/apache/arrow-nanoarrow.git | ||
GIT_TAG apache-arrow-nanoarrow-0.3.0 | ||
) | ||
FetchContent_MakeAvailable(nanoarrow-project) | ||
|
||
if (PANTAB_USE_SANITIZERS) | ||
add_compile_options(-fsanitize=address -fsanitize=undefined) | ||
add_link_options(-fsanitize=address -fsanitize=undefined) | ||
endif() | ||
|
||
add_subdirectory(pantab/src) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.