forked from apache/incubator-gluten
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GLUTEN-4917][VL] Update dependencies in static packaging (apache#5339)
- Loading branch information
Showing
7 changed files
with
79 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
FROM centos:7 | ||
|
||
RUN yum install -y git patch wget sudo | ||
|
||
# build | ||
RUN git clone --depth=1 https://github.com/apache/incubator-gluten /opt/gluten | ||
|
||
RUN echo "check_certificate = off" >> ~/.wgetrc | ||
# deps | ||
RUN cd /opt/gluten && bash ./dev/vcpkg/setup-build-depends.sh | ||
|
||
# vcpkg env | ||
ENV VCPKG_BINARY_SOURCES=clear;files,/var/cache/vcpkg,readwrite | ||
RUN source /opt/rh/devtoolset-9/enable && cd /opt/gluten && source dev/vcpkg/env.sh |
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,25 @@ | ||
vcpkg_download_distfile(ARCHIVE | ||
URLS "https://github.com/duckdb/duckdb/archive/refs/tags/v0.8.1.tar.gz" | ||
FILENAME "v0.8.1.tar.gz" | ||
SHA512 06e480aeefdb73bdc1b3d977d5b6f56b40d8893ac4de8702ca54e47ee14a0fa2532e3f9b1aaa49000d6b0b82b93e46e9e2bbaa7a1a6761542f91443a903ddb5d | ||
) | ||
|
||
vcpkg_extract_source_archive_ex( | ||
OUT_SOURCE_PATH SOURCE_PATH | ||
ARCHIVE "${ARCHIVE}" | ||
) | ||
|
||
vcpkg_configure_cmake( | ||
SOURCE_PATH "${SOURCE_PATH}" | ||
PREFER_NINJA | ||
OPTIONS | ||
-DBUILD_UNITTESTS=OFF | ||
-DENABLE_SANITIZER=OFF | ||
-DENABLE_UBSAN=OFF | ||
-DBUILD_SHELL=OFF | ||
-DEXPORT_DLL_SYMBOLS=OFF | ||
-DCMAKE_BUILD_TYPE=Release | ||
) | ||
vcpkg_install_cmake(ADD_BIN_TO_PATH) | ||
|
||
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") |
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,7 @@ | ||
{ | ||
"name": "duckdb", | ||
"version": "0.8.1", | ||
"dependencies": [ | ||
|
||
] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,13 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg-configuration.schema.json", | ||
"overlay-ports": [ "./ports" ], | ||
"overlay-triplets": [ "./triplets" ] | ||
"overlay-triplets": [ "./triplets" ], | ||
"registries": [ | ||
{ | ||
"kind": "git", | ||
"repository": "https://github.com/Microsoft/vcpkg", | ||
"baseline": "8ccb84df727bdf83045e53c319af05c554838b80", | ||
"packages": [ "boost*", "boost-*"] | ||
} | ||
] | ||
} |
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