1# This configuration file is for https://lgtm.com/ code analysis using Semmle. 2 3extraction: 4 java: 5 prepare: 6 packages: 7 - cmake 8 - golang-go 9 - ninja-build 10 after_prepare: 11 - export BORINGSSL_HOME="$LGTM_WORKSPACE/boringssl" 12 - export CXXFLAGS="-std=c++11" 13 - mkdir -p $BORINGSSL_HOME 14 - curl -Lo - https://boringssl.googlesource.com/boringssl/+archive/refs/heads/master.tar.gz | tar zxvfC - $BORINGSSL_HOME 15 - git config --global user.email "semmle-builder@example.com" 16 - git config --global user.name "Semmle Builder" 17 - ( cd $BORINGSSL_HOME ; git init ; git commit --allow-empty -m "Fake repo" ) 18 - mkdir $BORINGSSL_HOME/build64 && pushd $BORINGSSL_HOME/build64 19 - cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_ASM_FLAGS=-Wa,--noexecstack -GNinja .. 20 - ninja 21 - popd 22