projects
/
onyx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95799e2
)
fixed build order for fresh builds
author
Brendan Hansen
<brendan.f.hansen@gmail.com>
Mon, 5 Sep 2022 16:47:54 +0000
(11:47 -0500)
committer
Brendan Hansen
<brendan.f.hansen@gmail.com>
Mon, 5 Sep 2022 16:47:54 +0000
(11:47 -0500)
build.sh
patch
|
blob
|
history
diff --git
a/build.sh
b/build.sh
index 9a8a169f08e0ec668c187b4710fb52b56fdabff6..8cc45b8d1cc0db885f2089f29c98080bac2ad56c 100755
(executable)
--- a/
build.sh
+++ b/
build.sh
@@
-14,14
+14,6
@@
sudo cp ./bin/onyx-pkg "$BIN_DIR/onyx-pkg"
sudo mkdir -p "$CORE_DIR/tools"
sudo cp ./scripts/onyx-pkg.onyx "$CORE_DIR/tools"
-cd compiler
-./build.sh $1
-cd ..
-
-cd runtime
-./build.sh $1
-cd ..
-
if [ "$RUNTIME_LIBRARY" = "ovmwasm" ]; then
cd interpreter
./build.sh $1
@@
-40,6
+32,14
@@
if [ ! -f "$CORE_DIR/lib/lib$RUNTIME_LIBRARY.so" ] || true; then
sudo cp "$WASMER_INCLUDE_DIR/wasm.h" "$CORE_DIR/include/wasm.h"
fi
+cd compiler
+./build.sh $1
+cd ..
+
+cd runtime
+./build.sh $1
+cd ..
+
# Otherwise the prompt ends on the same line