Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rui-mo committed Jul 1, 2024
1 parent dcfb22e commit dac5f5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions scripts/spark/start-spark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@

set -e

cd $SPARK_HOME
./sbin/start-connect-server.sh --jars /opt/spark-connect_2.12-3.5.1.jar
$SPARK_HOME/sbin/start-connect-server.sh --jars /opt/spark-connect_2.12-3.5.1.jar
8 changes: 4 additions & 4 deletions velox/functions/sparksql/fuzzer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ set_source_files_properties(${GRPC_OUTPUT_FILES} PROPERTIES GENERATED TRUE)
add_custom_command(
OUTPUT ${PROTO_OUTPUT_FILES}
COMMAND
${Protobuf_PROTOC_EXECUTABLE} --proto_path ${CMAKE_SOURCE_DIR}/ --proto_path
protobuf::protoc --proto_path ${CMAKE_SOURCE_DIR}/ --proto_path
${Protobuf_INCLUDE_DIRS} --cpp_out ${CMAKE_BINARY_DIR} ${PROTO_FILES_FULL}
DEPENDS ${Protobuf_PROTOC_EXECUTABLE}
DEPENDS protobuf::protoc
COMMENT "Running PROTO compiler"
VERBATIM)
add_custom_target(spark_connect_proto ALL DEPENDS ${PROTO_OUTPUT_FILES})
Expand All @@ -50,11 +50,11 @@ add_custom_target(spark_connect_proto ALL DEPENDS ${PROTO_OUTPUT_FILES})
add_custom_command(
OUTPUT ${GRPC_OUTPUT_FILES}
COMMAND
${Protobuf_PROTOC_EXECUTABLE} --proto_path ${CMAKE_SOURCE_DIR}/ --proto_path
protobuf::protoc --proto_path ${CMAKE_SOURCE_DIR}/ --proto_path
${Protobuf_INCLUDE_DIRS} --grpc_out=${CMAKE_BINARY_DIR}
--plugin=protoc-gen-grpc=$<TARGET_FILE:gRPC::grpc_cpp_plugin>
${PROTO_FILES_FULL}
DEPENDS ${Protobuf_PROTOC_EXECUTABLE}
DEPENDS protobuf::protoc
COMMENT "Running gRPC C++ protocol buffer compiler"
VERBATIM)
add_custom_target(spark_connect_grpc_proto ALL DEPENDS ${GRPC_OUTPUT_FILES})
Expand Down

0 comments on commit dac5f5e

Please sign in to comment.