Skip to content

Commit

Permalink
Add visibility hidden to wheel building script
Browse files Browse the repository at this point in the history
  • Loading branch information
WillAyd committed Aug 8, 2024
1 parent 4965f74 commit 5cbc0d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/scripts/python_wheel_macos_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ cmake \
-DPARQUET_REQUIRE_ENCRYPTION=${PARQUET_REQUIRE_ENCRYPTION} \
-DVCPKG_MANIFEST_MODE=OFF \
-DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET} \
-DCMAKE_C_FLAGS="-fvisibility=hidden" \
-DCMAKE_CXX_FLAGS="-fvisibility=hidden" \
-G ${CMAKE_GENERATOR} \
${source_dir}/cpp
cmake --build . --target install
Expand Down
2 changes: 2 additions & 0 deletions ci/scripts/python_wheel_manylinux_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ cmake \
-DPARQUET_REQUIRE_ENCRYPTION=${PARQUET_REQUIRE_ENCRYPTION} \
-DVCPKG_MANIFEST_MODE=OFF \
-DVCPKG_TARGET_TRIPLET=${VCPKG_TARGET_TRIPLET} \
-DCMAKE_C_FLAGS="-fvisibility=hidden" \
-DCMAKE_CXX_FLAGS="-fvisibility=hidden" \
${ARROW_EXTRA_CMAKE_FLAGS} \
-G ${CMAKE_GENERATOR} \
/arrow/cpp
Expand Down

0 comments on commit 5cbc0d8

Please sign in to comment.