fix: add -lssl -lcrypto to all CI gcc linker commands
El SDK CI - dev / build-and-test (pull_request) Failing after 28s

el_runtime.c now uses OpenSSL EVP AEAD encryption; all gcc commands
in all three workflow files need -lssl -lcrypto to link correctly.
This commit is contained in:
2026-05-06 17:36:48 -05:00
parent 1b9bc049de
commit af66cebfd3
3 changed files with 36 additions and 36 deletions
+11 -11
View File
@@ -33,7 +33,7 @@ jobs:
-I el-compiler/runtime \ -I el-compiler/runtime \
dist/elc-bootstrap.c \ dist/elc-bootstrap.c \
el-compiler/runtime/el_runtime.c \ el-compiler/runtime/el_runtime.c \
-lcurl -lpthread -lm \ -lcurl -lssl -lcrypto -lpthread -lm \
-Wl,--allow-multiple-definition \ -Wl,--allow-multiple-definition \
-o dist/elc-gen2 -o dist/elc-gen2
chmod +x dist/elc-gen2 chmod +x dist/elc-gen2
@@ -49,7 +49,7 @@ jobs:
-I el-compiler/runtime \ -I el-compiler/runtime \
dist/elc-gen3.c \ dist/elc-gen3.c \
el-compiler/runtime/el_runtime.c \ el-compiler/runtime/el_runtime.c \
-lcurl -lpthread -lm \ -lcurl -lssl -lcrypto -lpthread -lm \
-o dist/platform/elc -o dist/platform/elc
chmod +x dist/platform/elc chmod +x dist/platform/elc
echo "gen3 (self-hosted) elc built" echo "gen3 (self-hosted) elc built"
@@ -87,7 +87,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_core.el > /tmp/el_native_core.c "$ELC" --test tests/native/test_core.el > /tmp/el_native_core.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_core.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_core.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_core -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_core
/tmp/el_native_core /tmp/el_native_core
- name: Run tests - native (text) - name: Run tests - native (text)
@@ -97,7 +97,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_text.el > /tmp/el_native_text.c "$ELC" --test tests/native/test_text.el > /tmp/el_native_text.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_text.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_text.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_text -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_text
/tmp/el_native_text /tmp/el_native_text
- name: Run tests - native (string) - name: Run tests - native (string)
@@ -107,7 +107,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_string.el > /tmp/el_native_string.c "$ELC" --test tests/native/test_string.el > /tmp/el_native_string.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_string.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_string.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_string -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_string
/tmp/el_native_string /tmp/el_native_string
- name: Run tests - native (math) - name: Run tests - native (math)
@@ -117,7 +117,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_math.el > /tmp/el_native_math.c "$ELC" --test tests/native/test_math.el > /tmp/el_native_math.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_math.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_math.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_math -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_math
/tmp/el_native_math /tmp/el_native_math
- name: Run tests - native (state) - name: Run tests - native (state)
@@ -127,7 +127,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_state.el > /tmp/el_native_state.c "$ELC" --test tests/native/test_state.el > /tmp/el_native_state.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_state.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_state.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_state -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_state
/tmp/el_native_state /tmp/el_native_state
- name: Run tests - native (time) - name: Run tests - native (time)
@@ -137,7 +137,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_time.el > /tmp/el_native_time.c "$ELC" --test tests/native/test_time.el > /tmp/el_native_time.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_time.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_time.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_time -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_time
/tmp/el_native_time /tmp/el_native_time
- name: Run tests - native (json) - name: Run tests - native (json)
@@ -147,7 +147,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_json.el > /tmp/el_native_json.c "$ELC" --test tests/native/test_json.el > /tmp/el_native_json.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_json.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_json.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_json -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_json
/tmp/el_native_json /tmp/el_native_json
- name: Run tests - native (env) - name: Run tests - native (env)
@@ -157,7 +157,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_env.el > /tmp/el_native_env.c "$ELC" --test tests/native/test_env.el > /tmp/el_native_env.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_env.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_env.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_env -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_env
/tmp/el_native_env /tmp/el_native_env
- name: Run tests - native (fs) - name: Run tests - native (fs)
@@ -167,7 +167,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_fs.el > /tmp/el_native_fs.c "$ELC" --test tests/native/test_fs.el > /tmp/el_native_fs.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_fs.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_fs.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_fs -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_fs
/tmp/el_native_fs /tmp/el_native_fs
# Publish only after merge (push event), not on PR validation runs # Publish only after merge (push event), not on PR validation runs
+11 -11
View File
@@ -43,7 +43,7 @@ jobs:
-I el-compiler/runtime \ -I el-compiler/runtime \
dist/elc-bootstrap.c \ dist/elc-bootstrap.c \
el-compiler/runtime/el_runtime.c \ el-compiler/runtime/el_runtime.c \
-lcurl -lpthread -lm \ -lcurl -lssl -lcrypto -lpthread -lm \
-Wl,--allow-multiple-definition \ -Wl,--allow-multiple-definition \
-o dist/elc-gen2 -o dist/elc-gen2
chmod +x dist/elc-gen2 chmod +x dist/elc-gen2
@@ -59,7 +59,7 @@ jobs:
-I el-compiler/runtime \ -I el-compiler/runtime \
dist/elc-gen3.c \ dist/elc-gen3.c \
el-compiler/runtime/el_runtime.c \ el-compiler/runtime/el_runtime.c \
-lcurl -lpthread -lm \ -lcurl -lssl -lcrypto -lpthread -lm \
-o dist/platform/elc -o dist/platform/elc
chmod +x dist/platform/elc chmod +x dist/platform/elc
echo "gen3 (self-hosted) elc built" echo "gen3 (self-hosted) elc built"
@@ -97,7 +97,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_core.el > /tmp/el_native_core.c "$ELC" --test tests/native/test_core.el > /tmp/el_native_core.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_core.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_core.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_core -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_core
/tmp/el_native_core /tmp/el_native_core
- name: Run tests - native (text) - name: Run tests - native (text)
@@ -107,7 +107,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_text.el > /tmp/el_native_text.c "$ELC" --test tests/native/test_text.el > /tmp/el_native_text.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_text.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_text.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_text -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_text
/tmp/el_native_text /tmp/el_native_text
- name: Run tests - native (string) - name: Run tests - native (string)
@@ -117,7 +117,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_string.el > /tmp/el_native_string.c "$ELC" --test tests/native/test_string.el > /tmp/el_native_string.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_string.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_string.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_string -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_string
/tmp/el_native_string /tmp/el_native_string
- name: Run tests - native (math) - name: Run tests - native (math)
@@ -127,7 +127,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_math.el > /tmp/el_native_math.c "$ELC" --test tests/native/test_math.el > /tmp/el_native_math.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_math.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_math.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_math -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_math
/tmp/el_native_math /tmp/el_native_math
- name: Run tests - native (state) - name: Run tests - native (state)
@@ -137,7 +137,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_state.el > /tmp/el_native_state.c "$ELC" --test tests/native/test_state.el > /tmp/el_native_state.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_state.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_state.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_state -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_state
/tmp/el_native_state /tmp/el_native_state
- name: Run tests - native (time) - name: Run tests - native (time)
@@ -147,7 +147,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_time.el > /tmp/el_native_time.c "$ELC" --test tests/native/test_time.el > /tmp/el_native_time.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_time.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_time.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_time -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_time
/tmp/el_native_time /tmp/el_native_time
- name: Run tests - native (json) - name: Run tests - native (json)
@@ -157,7 +157,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_json.el > /tmp/el_native_json.c "$ELC" --test tests/native/test_json.el > /tmp/el_native_json.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_json.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_json.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_json -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_json
/tmp/el_native_json /tmp/el_native_json
- name: Run tests - native (env) - name: Run tests - native (env)
@@ -167,7 +167,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_env.el > /tmp/el_native_env.c "$ELC" --test tests/native/test_env.el > /tmp/el_native_env.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_env.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_env.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_env -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_env
/tmp/el_native_env /tmp/el_native_env
- name: Run tests - native (fs) - name: Run tests - native (fs)
@@ -177,7 +177,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_fs.el > /tmp/el_native_fs.c "$ELC" --test tests/native/test_fs.el > /tmp/el_native_fs.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_fs.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_fs.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_fs -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_fs
/tmp/el_native_fs /tmp/el_native_fs
# Publish only after merge (push event), not on PR validation runs # Publish only after merge (push event), not on PR validation runs
+14 -14
View File
@@ -43,7 +43,7 @@ jobs:
-I el-compiler/runtime \ -I el-compiler/runtime \
dist/elc-bootstrap.c \ dist/elc-bootstrap.c \
el-compiler/runtime/el_runtime.c \ el-compiler/runtime/el_runtime.c \
-lcurl -lpthread -lm \ -lcurl -lssl -lcrypto -lpthread -lm \
-Wl,--allow-multiple-definition \ -Wl,--allow-multiple-definition \
-o dist/elc-gen2 -o dist/elc-gen2
chmod +x dist/elc-gen2 chmod +x dist/elc-gen2
@@ -59,7 +59,7 @@ jobs:
-I el-compiler/runtime \ -I el-compiler/runtime \
dist/elc-gen3.c \ dist/elc-gen3.c \
el-compiler/runtime/el_runtime.c \ el-compiler/runtime/el_runtime.c \
-lcurl -lpthread -lm \ -lcurl -lssl -lcrypto -lpthread -lm \
-o dist/platform/elc -o dist/platform/elc
chmod +x dist/platform/elc chmod +x dist/platform/elc
echo "gen3 (self-hosted) elc built" echo "gen3 (self-hosted) elc built"
@@ -74,7 +74,7 @@ jobs:
-I el-compiler/runtime \ -I el-compiler/runtime \
dist/elb.c \ dist/elb.c \
el-compiler/runtime/el_runtime.c \ el-compiler/runtime/el_runtime.c \
-lcurl -lpthread -lm \ -lcurl -lssl -lcrypto -lpthread -lm \
-o dist/bin/elb -o dist/bin/elb
chmod +x dist/bin/elb chmod +x dist/bin/elb
echo "elb built" echo "elb built"
@@ -87,7 +87,7 @@ jobs:
-I el-compiler/runtime \ -I el-compiler/runtime \
dist/epm.c \ dist/epm.c \
el-compiler/runtime/el_runtime.c \ el-compiler/runtime/el_runtime.c \
-lcurl -lpthread -lm \ -lcurl -lssl -lcrypto -lpthread -lm \
-o dist/bin/epm -o dist/bin/epm
chmod +x dist/bin/epm chmod +x dist/bin/epm
echo "epm built" echo "epm built"
@@ -100,7 +100,7 @@ jobs:
-I el-compiler/runtime \ -I el-compiler/runtime \
dist/el-install.c \ dist/el-install.c \
el-compiler/runtime/el_runtime.c \ el-compiler/runtime/el_runtime.c \
-lcurl -lpthread -lm \ -lcurl -lssl -lcrypto -lpthread -lm \
-o dist/bin/el-install -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"
@@ -137,7 +137,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_core.el > /tmp/el_native_core.c "$ELC" --test tests/native/test_core.el > /tmp/el_native_core.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_core.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_core.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_core -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_core
/tmp/el_native_core /tmp/el_native_core
- name: Run tests - native (text) - name: Run tests - native (text)
@@ -147,7 +147,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_text.el > /tmp/el_native_text.c "$ELC" --test tests/native/test_text.el > /tmp/el_native_text.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_text.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_text.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_text -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_text
/tmp/el_native_text /tmp/el_native_text
- name: Run tests - native (string) - name: Run tests - native (string)
@@ -157,7 +157,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_string.el > /tmp/el_native_string.c "$ELC" --test tests/native/test_string.el > /tmp/el_native_string.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_string.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_string.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_string -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_string
/tmp/el_native_string /tmp/el_native_string
- name: Run tests - native (math) - name: Run tests - native (math)
@@ -167,7 +167,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_math.el > /tmp/el_native_math.c "$ELC" --test tests/native/test_math.el > /tmp/el_native_math.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_math.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_math.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_math -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_math
/tmp/el_native_math /tmp/el_native_math
- name: Run tests - native (state) - name: Run tests - native (state)
@@ -177,7 +177,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_state.el > /tmp/el_native_state.c "$ELC" --test tests/native/test_state.el > /tmp/el_native_state.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_state.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_state.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_state -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_state
/tmp/el_native_state /tmp/el_native_state
- name: Run tests - native (time) - name: Run tests - native (time)
@@ -187,7 +187,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_time.el > /tmp/el_native_time.c "$ELC" --test tests/native/test_time.el > /tmp/el_native_time.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_time.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_time.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_time -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_time
/tmp/el_native_time /tmp/el_native_time
- name: Run tests - native (json) - name: Run tests - native (json)
@@ -197,7 +197,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_json.el > /tmp/el_native_json.c "$ELC" --test tests/native/test_json.el > /tmp/el_native_json.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_json.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_json.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_json -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_json
/tmp/el_native_json /tmp/el_native_json
- name: Run tests - native (env) - name: Run tests - native (env)
@@ -207,7 +207,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_env.el > /tmp/el_native_env.c "$ELC" --test tests/native/test_env.el > /tmp/el_native_env.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_env.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_env.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_env -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_env
/tmp/el_native_env /tmp/el_native_env
- name: Run tests - native (fs) - name: Run tests - native (fs)
@@ -217,7 +217,7 @@ jobs:
RUNTIME="$(pwd)/el-compiler/runtime" RUNTIME="$(pwd)/el-compiler/runtime"
"$ELC" --test tests/native/test_fs.el > /tmp/el_native_fs.c "$ELC" --test tests/native/test_fs.el > /tmp/el_native_fs.c
gcc -O2 -I "$RUNTIME" /tmp/el_native_fs.c "$RUNTIME/el_runtime.c" \ gcc -O2 -I "$RUNTIME" /tmp/el_native_fs.c "$RUNTIME/el_runtime.c" \
-lcurl -lpthread -lm -o /tmp/el_native_fs -lcurl -lssl -lcrypto -lpthread -lm -o /tmp/el_native_fs
/tmp/el_native_fs /tmp/el_native_fs
# Bundle the SDK tarball - runs from the repo root to reference lang/ paths correctly # Bundle the SDK tarball - runs from the repo root to reference lang/ paths correctly