From a886dcd98f8bffb3c0bcd96b5fd26022e2d692b0 Mon Sep 17 00:00:00 2001 From: Michael Adams Date: Sat, 4 Nov 2023 14:58:04 -0700 Subject: [PATCH] Made some further build changes to experiment with WebAssembly support. --- .github/workflows/release.yml | 3 ++- build/build_wasi_jasper | 4 ++++ build/github/prebuild | 1 + 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a2a1e3d0..05ece77f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,8 @@ on: jobs: build: - runs-on: ubuntu-latest + #runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: ############################################################ - name: Checkout diff --git a/build/build_wasi_jasper b/build/build_wasi_jasper index c8fee496..e5aad739 100755 --- a/build/build_wasi_jasper +++ b/build/build_wasi_jasper @@ -97,6 +97,10 @@ wasmtime="$wasmtime_dir/bin/wasmtime" export WASI_SDK_ROOT_DIR="$wasi_sdk_dir" export CC="$wasm_cc" export CXX="$wasm_cxx" +export PATH="$wasi_sdk_dir/bin:$PATH" + +lld="$(type -P lld)" || lld= +echo "lld program: $lld" #source_dir="$tmp_dir/git" build_dir="$tmp_dir/build" diff --git a/build/github/prebuild b/build/github/prebuild index cccedd79..dd852669 100755 --- a/build/github/prebuild +++ b/build/github/prebuild @@ -13,6 +13,7 @@ panic() # Initialize the list of required packages. packages=() packages+=(doxygen) +#packages+=(lld) # Install the packages. sudo apt-get install -y "${packages[@]}" || \