Skip to content

Commit

Permalink
test1
Browse files Browse the repository at this point in the history
  • Loading branch information
satawatnack committed Sep 20, 2023
1 parent e7984de commit ceacb99
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion api/link_glibclinux_aarch64.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build linux && !muslc && arm64 && !sys_wasmvm
//go:build linux && !muslc && arm64

package api

Expand Down
2 changes: 1 addition & 1 deletion api/link_glibclinux_x86_64.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//go:build linux && !muslc && amd64 && !sys_wasmvm
//go:build linux && !muslc && amd64

package api

Expand Down
2 changes: 1 addition & 1 deletion build/build_gnu_aarch64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ export CFLAGS_aarch64_unknown_linux_gnu="--sysroot=/usr/aarch64-linux-gnu"
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc
export CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUNNER="$qemu_aarch64"
cargo build --release --target aarch64-unknown-linux-gnu
cp target/aarch64-unknown-linux-gnu/release/libwasmvm.so ./../api/libwasmvm.aarch64.so
cp target/aarch64-unknown-linux-gnu/release/libgo_owasm.so ./../api/libgo_owasm.aarch64.so
2 changes: 1 addition & 1 deletion build/build_gnu_x86_64.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ echo "Starting x86_64-unknown-linux-gnu build"
export CC=clang
export CXX=clang++
cargo build --release --target x86_64-unknown-linux-gnu
cp target/x86_64-unknown-linux-gnu/release/libwasmvm.so artifacts/libwasmvm.x86_64.so
cp target/x86_64-unknown-linux-gnu/release/libgo_owasm.so ./../api/libgo_owasm.x86_64.so
4 changes: 2 additions & 2 deletions build/build_linux.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/bash
set -o errexit -o nounset -o pipefail
cd go-owasm/libgo_owasm

cd go-owasm/libgo_owasm
build_gnu_x86_64.sh
build_gnu_aarch64.sh

# cd go-owasm/libgo_owasm

# cargo build --release
# cp target/release/deps/libgo_owasm.so ./../api

0 comments on commit ceacb99

Please sign in to comment.