Skip to content
Snippets Groups Projects
Commit 0923c42b authored by Jan Trávníček's avatar Jan Trávníček
Browse files

configure USE_LTO for clang on gitlab-ci

parent cc203630
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,11 @@ before_script: ...@@ -19,6 +19,11 @@ before_script:
*-clang) ln -s /usr/lib/llvm4/lib/LLVMgold.so /usr/lib/LLVMgold.so;; *-clang) ln -s /usr/lib/llvm4/lib/LLVMgold.so /usr/lib/LLVMgold.so;;
*) ;; *) ;;
esac esac
- echo USE_RAMDISK=0 >> build.conf
- case "$CI_BUILD_NAME" in
*-clang) echo USE_LTO=1 >> build.conf;;
*) echo USE_LTO=0 >> build.conf;;
esac
   
   
#========== Stage build ========== #========== Stage build ==========
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment