-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP not working ``` /bin/sh: /opt/homebrew/lib/python3.11/site-packages/cmake/data/bin/cmake -E chdir /Users/tom/perspective/perspective/rust/target/debug/build/perspective-server-639831860500edae/out/build/arrow-src git apply /Users/tom/perspective/perspective/rust/perspective-server/cpp/perspective/patches/fix_arrow_libtool.patch: No such file or directory ``` switching off to arrow PR will also add the fix_flags.patch to this branch I think Signed-off-by: Tom Jakubowski <[email protected]> WIP, switch to BUNDLED arrow build failing because despite ARROW_JEMALLOC assuredly being OFF, the .so is ending up with missing arrow symbols referencing jemalloc ``` ImportError: dlopen(/Users/tom/perspective/perspective/rust/perspective-python/perspective/perspective.abi3.so, 0x0002): symbol not found in flat namespace '__ZN5arrow11memory_pool8internal17JemallocAllocator13ReleaseUnusedEv' ``` Signed-off-by: Tom Jakubowski <[email protected]> reorder arrow Signed-off-by: Tom Jakubowski <[email protected]> fix patch Signed-off-by: Tom Jakubowski <[email protected]> remove zstd dep Signed-off-by: Tom Jakubowski <[email protected]> remove traces of arrow deps moved into bundle Signed-off-by: Tom Jakubowski <[email protected]> annotate PATCH_COMMAND Signed-off-by: Tom Jakubowski <[email protected]> ignore .venv for prettier Signed-off-by: Tom Jakubowski <[email protected]> Better control over include directory ordering `psp_build_dep(name)` now exports in its parent scope a `${name}_INCLUDE_DIRS` variable which contains a list of include directories containing that dependency's header files. These variables are then joined into a list in CMakeLists.txt, which is then passed to `target_include_directories(psp)` There are no longer any calls to `include_directories()`. Some extra include paths were also removed, like `/usr/local/include` for Boost, which is better covered by `Boost_INCLUDE_DIRS`. Also removes `boost_system` from the list of Boost requirements; we only need Boost headers. closes #2792 Signed-off-by: Tom Jakubowski <[email protected]> more careful with Boost hoping won't need to restore the WIN32-sensitive ordering of the find_package(Boost) call Signed-off-by: Tom Jakubowski <[email protected]> remove unused CMAKE_ARGS Signed-off-by: Tom Jakubowski <[email protected]> perspective-server: parse CMAKE_ARGS from environ supports the conda build Signed-off-by: Tom Jakubowski <[email protected]> fix emscripten build Signed-off-by: Tom Jakubowski <[email protected]> make VCPKG_ROOT optional, but warn prevents need for fix-windows.diff patch Signed-off-by: Tom Jakubowski <[email protected]> oops fix typo Signed-off-by: Tom Jakubowski <[email protected]> replace find_package(Boost) with psp_build_dep This may make local builds from clean take slightly longer (since it won't use any latent Boost on the system), but should make CI builds faster since the "build boost" step of install-tools.mjs can be skipped. The headers in Boost's release tarballs can be used directly. Was also possible to update `find_package(Boost)` call to use `PATHS` to request the Emscripten build to look in system trees, which I tried first, but getting the paths to where FindBoost.cmake might be right on every environment was like whack-a-mole. This way is the same on every environment and makes Boost dependency consistent with the others Signed-off-by: Tom Jakubowski <[email protected]> conda-build: detect conda, use , add feature flag for abi3 subsumes fix_maturin.diff and disable_abi3.diff Signed-off-by: Tom Jakubowski <[email protected]> use explicit PSP_CPP_BUILD_DIR completes subsumption of fix_windows.diff Signed-off-by: Tom Jakubowski <[email protected]> use non-system includes for psp_INCLUDE_DIRS Signed-off-by: Tom Jakubowski <[email protected]> Remove install_tools.mjs Signed-off-by: Tom Jakubowski <[email protected]> fix re2 include_dirs export how was psp able to build like this? Signed-off-by: Tom Jakubowski <[email protected]> fixup install_tools Signed-off-by: Tom Jakubowski <[email protected]> pass include dirs to perspective_esm target also Signed-off-by: Tom Jakubowski <[email protected]>
- Loading branch information
1 parent
13b26d7
commit 493b915
Showing
28 changed files
with
189 additions
and
271 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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 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,18 @@ | ||
cmake_minimum_required(VERSION 3.7.2) | ||
|
||
project(boost-download NONE) | ||
|
||
# Makes GIT_SUBMODULES "" in ExternalProject_Add skip initializing submodules | ||
cmake_policy(SET CMP0097 NEW) | ||
|
||
include(ExternalProject) | ||
ExternalProject_Add(apachearrow | ||
URL "https://boostorg.jfrog.io/artifactory/main/release/1.82.0/source/boost_1_82_0.tar.gz" | ||
SOURCE_DIR "${CMAKE_BINARY_DIR}/boost-src" | ||
BINARY_DIR "${CMAKE_BINARY_DIR}/boost-build" | ||
SOURCE_SUBDIR "" | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND "" | ||
INSTALL_COMMAND "" | ||
TEST_COMMAND "" | ||
) |
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 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 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 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 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
Oops, something went wrong.