Merge pull request 'promote: dev → stage (elb build fix)' (#28) from dev into stage
promote: dev → stage (elb build fix)
This commit was merged in pull request #28.
This commit is contained in:
@@ -70,29 +70,25 @@ jobs:
|
|||||||
chmod +x dist/bin/elb
|
chmod +x dist/bin/elb
|
||||||
echo "elb built"
|
echo "elb built"
|
||||||
|
|
||||||
# Build epm binary (epm lives at repo root, not inside lang/)
|
# Build epm binary using elb (epm lives at repo root, not inside lang/)
|
||||||
- name: Build epm
|
- name: Build epm
|
||||||
run: |
|
run: |
|
||||||
dist/platform/elc ../epm/src/epm.el > dist/epm.c
|
ABS_ELB="$(pwd)/dist/bin/elb"
|
||||||
gcc -O2 \
|
ABS_ELC="$(pwd)/dist/platform/elc"
|
||||||
-I el-compiler/runtime \
|
ABS_RUNTIME="$(pwd)/el-compiler/runtime"
|
||||||
dist/epm.c \
|
ABS_OUT="$(pwd)/dist/bin"
|
||||||
el-compiler/runtime/el_runtime.c \
|
(cd ../epm && "$ABS_ELB" --elc="$ABS_ELC" --runtime="$ABS_RUNTIME" --out="$ABS_OUT")
|
||||||
-lcurl -lssl -lcrypto -lpthread -lm \
|
|
||||||
-o dist/bin/epm
|
|
||||||
chmod +x dist/bin/epm
|
chmod +x dist/bin/epm
|
||||||
echo "epm built"
|
echo "epm built"
|
||||||
|
|
||||||
# Build el-install binary
|
# Build el-install binary using elb
|
||||||
- name: Build el-install
|
- name: Build el-install
|
||||||
run: |
|
run: |
|
||||||
dist/platform/elc tools/install/el-install.el > dist/el-install.c
|
ABS_ELB="$(pwd)/dist/bin/elb"
|
||||||
gcc -O2 \
|
ABS_ELC="$(pwd)/dist/platform/elc"
|
||||||
-I el-compiler/runtime \
|
ABS_RUNTIME="$(pwd)/el-compiler/runtime"
|
||||||
dist/el-install.c \
|
ABS_OUT="$(pwd)/dist/bin"
|
||||||
el-compiler/runtime/el_runtime.c \
|
(cd tools/install && "$ABS_ELB" --elc="$ABS_ELC" --runtime="$ABS_RUNTIME" --out="$ABS_OUT")
|
||||||
-lcurl -lssl -lcrypto -lpthread -lm \
|
|
||||||
-o dist/bin/el-install
|
|
||||||
chmod +x dist/bin/el-install
|
chmod +x dist/bin/el-install
|
||||||
echo "el-install built"
|
echo "el-install built"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user