diff --git a/.github/workflows/prestocpp-macos-build.yml b/.github/workflows/prestocpp-macos-build.yml index 85a0b5b0351b9..79e1abf134441 100644 --- a/.github/workflows/prestocpp-macos-build.yml +++ b/.github/workflows/prestocpp-macos-build.yml @@ -39,6 +39,7 @@ jobs: mkdir ~/deps ~/deps-src git clone --depth 1 https://github.com/Homebrew/brew ~/deps PATH=~/deps/bin:${PATH} DEPENDENCY_DIR=~/deps-src INSTALL_PREFIX=~/deps PROMPT_ALWAYS_RESPOND=n ./presto-native-execution/scripts/setup-macos.sh + nm -C ~/deps/lib/libfolly.a | grep F14LinkCheck # Calculate the prefix path before we delete brew's repos and taps. rm -rf ~/deps/.git ~/deps/Library/Taps/ # Reduce cache size by 70%. rm -rf ~/deps-src @@ -64,6 +65,7 @@ jobs: cd presto-native-execution cmake -B _build/debug -GNinja -DTREAT_WARNINGS_AS_ERRORS=1 -DENABLE_ALL_WARNINGS=1 -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_LAUNCHER=ccache ninja -C _build/debug + nm -C _build/debug/velox/velox/connectors/hive/CMakeFiles/velox_hive_connector.dir/HiveConnector.cpp.o | grep F14LinkCheck - name: Ccache after run: ccache -s diff --git a/presto-native-execution/presto_cpp/main/PrestoServer.cpp b/presto-native-execution/presto_cpp/main/PrestoServer.cpp index 80ca50a0cfa1b..3e4f36e36d72b 100644 --- a/presto-native-execution/presto_cpp/main/PrestoServer.cpp +++ b/presto-native-execution/presto_cpp/main/PrestoServer.cpp @@ -67,6 +67,8 @@ #include "velox/serializers/PrestoSerializer.h" #include "velox/serializers/UnsafeRowSerializer.h" +// Make a small change to force a native build + #ifdef PRESTO_ENABLE_REMOTE_FUNCTIONS #include "presto_cpp/main/RemoteFunctionRegisterer.h" #endif