Debian Codegraph @

scripts/build_both_dylib_and_so.sh

raw symbols SCIP
1 #!/usr/bin/envscip-shell filesystem . . `/usr/bin/env`. bash
2
3 #Upload a snapshot build of the current HEAD with both .dylib and .so
4 #This can only be run from within Broad
5
6 #set -v
7 set -e
8
9 SERVER=gsa6.broadinstitute.org
10
11 LIB_PATH="src/main/c"
12
13 echoscip-shell system . . echo. "building local files"
14 ./gradlew clean build
15
16 echoscip-shell system . . echo. "building remote files"
17 vectorLib=$( sshscip-shell system . . ssh. $SERVER 'bash -s' < scripts/build_native_lib_in_clean_repo.sh $( gitscip-shell system . . git. rev-parse HEAD) gatk-fermilite-jni libfml $LIB_PATH )
18
19 echoscip-shell system . . echo. "result is at $vectorLib"
20
21 echoscip-shell system . . echo. "copying from ${SERVER}:${vectorLib} to $LIB_PATH"
22 scpscip-shell system . . scp. ${SERVER}:${vectorLib} $LIB_PATH
23
24 exit 0