Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use production Fivetran protos #40

Merged
merged 1 commit into from
May 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@ check_dependencies:
exit 1; \
fi

build_connector: check_dependencies
build_connector: check_dependencies get_fivetran_protos
echo "dependencies: ${MD_FIVETRAN_DEPENDENCIES_DIR}"
cmake -S ${SOURCE_DIR} -B ${BUILD_DIR}/Release \
-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}/Release \
-DMD_FIVETRAN_DEPENDENCIES_DIR=${MD_FIVETRAN_DEPENDENCIES_DIR}
cmake --build ${BUILD_DIR}/Release -j${CORES} --config Release
cmake --install ${BUILD_DIR}/Release --config Release

build_connector_debug: check_dependencies
build_connector_debug: check_dependencies get_fivetran_protos
cmake -S ${SOURCE_DIR} -B ${BUILD_DIR}/Debug \
-DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR}/Debug \
-DMD_FIVETRAN_DEPENDENCIES_DIR=${MD_FIVETRAN_DEPENDENCIES_DIR}
Expand Down Expand Up @@ -86,10 +86,10 @@ get_duckdb:

get_fivetran_protos:
mkdir -p protos
curl -o protos/destination_sdk.proto https://raw.githubusercontent.com/fivetran/fivetran_sdk/main/destination_sdk.proto
curl -o protos/common.proto https://raw.githubusercontent.com/fivetran/fivetran_sdk/main/common.proto
curl -o protos/destination_sdk.proto https://raw.githubusercontent.com/fivetran/fivetran_sdk/production/destination_sdk.proto
curl -o protos/common.proto https://raw.githubusercontent.com/fivetran/fivetran_sdk/production/common.proto

build_dependencies: get_fivetran_protos get_duckdb build_openssl_native build_grpc build_arrow build_test_dependencies
build_dependencies: get_duckdb build_openssl_native build_grpc build_arrow build_test_dependencies

# Repo-wide C++ formatting
# For local formatter use:
Expand Down
Loading