Skip to content

Commit

Permalink
Revert "[dep](thirdparty) import wasmtime library (apache#30591)" (ap…
Browse files Browse the repository at this point in the history
…ache#30795)

This reverts commit 2490d6b.
  • Loading branch information
HappenLee authored and seawinde committed Feb 5, 2024
1 parent 2181c37 commit 8d39fee
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 40 deletions.
5 changes: 0 additions & 5 deletions thirdparty/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@

This file contains version of the third-party dependency libraries in the build-env image. The docker build-env image is apache/doris, and the tag is `build-env-${version}`

## v20240129

- Added: wasmtime -> 15.0.1
- Added: wasmtime-cpp -> 9.0.0

## 20240112

- Modified: hadoop libhdfs 3.3.4.6
Expand Down
21 changes: 0 additions & 21 deletions thirdparty/build-thirdparty.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1775,25 +1775,6 @@ build_ali_sdk() {
"${BUILD_SYSTEM}" install
}

# wasmtime
build_wasmtime() {
check_if_source_exist "${WASMTIME_SOURCE}"
cd "${TP_SOURCE_DIR}/${WASMTIME_SOURCE}"

cargo build --release -p wasmtime-c-api

cp -rf ./crates/c-api/wasm-c-api/include/wasm.* "${TP_INCLUDE_DIR}/"
cp -rf ./crates/c-api/include/* "${TP_INCLUDE_DIR}/"
cp -rf ./target/release/libwasmtime.a "${TP_LIB_DIR}/libwasmtime.a"
}

build_wasmtime_cpp() {
check_if_source_exist "${WASMTIME_CPP_SOURCE}"
cd "${TP_SOURCE_DIR}/${WASMTIME_CPP_SOURCE}"

cp -rf ./include/wasmtime.hh "${TP_INCLUDE_DIR}/"
}

if [[ "${#packages[@]}" -eq 0 ]]; then
packages=(
libunixodbc
Expand Down Expand Up @@ -1860,8 +1841,6 @@ if [[ "${#packages[@]}" -eq 0 ]]; then
libdeflate
streamvbyte
ali_sdk
wasmtime
wasmtime_cpp
)
if [[ "$(uname -s)" == 'Darwin' ]]; then
read -r -a packages <<<"binutils gettext ${packages[*]}"
Expand Down
14 changes: 0 additions & 14 deletions thirdparty/vars.sh
Original file line number Diff line number Diff line change
Expand Up @@ -508,18 +508,6 @@ ALI_SDK_NAME="1.36.1586.tar.gz"
ALI_SDK_SOURCE="aliyun-openapi-cpp-sdk-1.36.1586"
ALI_SDK_MD5SUM="14623ee8e87c89615477d9bf8cb30bea"

# wasmtime
WASMTIME_DOWNLOAD="https://github.com/bytecodealliance/wasmtime/releases/download/v14.0.4/wasmtime-v14.0.4-src.tar.gz"
WASMTIME_NAME=wasmtime-v14.0.4-src.tar.gz
WASMTIME_SOURCE=wasmtime-v14.0.4-src
WASMTIME_MD5SUM="b440d7efd615f1b018cd326876d8ead7"

# wasmtime-cpp
WASMTIME_CPP_DOWNLOAD="https://github.com/bytecodealliance/wasmtime-cpp/archive/refs/tags/v9.0.0.tar.gz"
WASMTIME_CPP_NAME=v9.0.0.tar.gz
WASMTIME_CPP_SOURCE=wasmtime-cpp-9.0.0
WASMTIME_CPP_MD5SUM="222cda259440a4243104571900fe087a"

# all thirdparties which need to be downloaded is set in array TP_ARCHIVES
export TP_ARCHIVES=(
'LIBEVENT'
Expand Down Expand Up @@ -595,8 +583,6 @@ export TP_ARCHIVES=(
'JSONCPP'
'LIBUUID'
'ALI_SDK'
'WASMTIME'
'WASMTIME_CPP'
)

if [[ "$(uname -s)" == 'Darwin' ]]; then
Expand Down

0 comments on commit 8d39fee

Please sign in to comment.