Commit e88dd154 authored by Eduardo Souza's avatar Eduardo Souza

Link dynamic library with -lffi and -ledit.

parent cfc3b1a9
Pipeline #5676 failed with stages
in 56 minutes and 13 seconds
......@@ -45,8 +45,8 @@ build:
- git pull
- cargo clean
- cargo build
- $CC -shared -fPIC -ledit -lffi -L$MU_LLVM_ZEBU/target/debug/deps/ -lmu_aot_llvm -o $MU_LLVM_ZEBU/target/debug/deps/libmu_aot_llvm-linked.so # link with -ledit and -lffi
- mv $MU_LLVM_ZEBU/target/debug/deps/libmu_aot_llvm-linked.so $MU_LLVM_ZEBU/target/debug/deps/libmu_aot_llvm.so
- $CC -shared -fPIC -ledit -lffi -L$MU_LLVM_ZEBU/target/debug/deps/ -lmu_aot_llvm -o $MU_LLVM_ZEBU/target/debug/libmu_aot_llvm-linked.so # link with -ledit and -lffi
- mv $MU_LLVM_ZEBU/target/debug/libmu_aot_llvm-linked.so $MU_LLVM_ZEBU/target/debug/libmu_aot_llvm.so
- rm ~/.git-credentials || echo ".git-credentials does not exist."
artifacts:
paths:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment