aboutsummaryrefslogtreecommitdiff
path: root/generate_projects_linux.sh
diff options
context:
space:
mode:
authorsantoleri-nvidia <[email protected]>2017-02-24 19:48:22 +0100
committersantoleri-nvidia <[email protected]>2017-02-24 19:48:22 +0100
commitf930643a042334fe490e9bdc3fecd9afd1799cde (patch)
tree6e4df6aec15a5446cc0ebd92d92071fe43f496d2 /generate_projects_linux.sh
parentUpdating to [email protected] and blast_tools_and_samples... (diff)
parentadding linux source (diff)
downloadblast-f930643a042334fe490e9bdc3fecd9afd1799cde.tar.xz
blast-f930643a042334fe490e9bdc3fecd9afd1799cde.zip
adding linux support
Diffstat (limited to 'generate_projects_linux.sh')
-rwxr-xr-xgenerate_projects_linux.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/generate_projects_linux.sh b/generate_projects_linux.sh
new file mode 100755
index 0000000..362cb11
--- /dev/null
+++ b/generate_projects_linux.sh
@@ -0,0 +1,11 @@
+#!/bin/sh +x
+
+# Set the blast root to the current directory
+SCRIPT=$(readlink -f "$0")
+export BLAST_ROOT_DIR=$(dirname $SCRIPT)
+echo $BLAST_ROOT_DIR
+
+# Run packman to ensure dependencies are present and run cmake generation script afterwards
+echo "Running packman in preparation for cmake ..."
+
+$BLAST_ROOT_DIR"/buildtools/packman/linux/packman" $PM_OPTIONS_EXT pull $BLAST_ROOT_DIR"/dependencies.xml" --platform linux --postscript $BLAST_ROOT_DIR"/buildtools/cmake_projects_linux.sh"