aboutsummaryrefslogtreecommitdiff
path: root/generate_projects_linux.sh
blob: ebbc58d2c549b12cf402c1bf790b90c7cf119a6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash +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 last
echo "Getting build platform dependencies for Linux ..."
source $BLAST_ROOT_DIR"/buildtools/packman5/packman" pull $BLAST_ROOT_DIR"/buildtools/build_platform_deps.xml" --platform linux

echo "Getting target platform dependencies for Linux ..."
source $BLAST_ROOT_DIR"/buildtools/packman5/packman" pull $BLAST_ROOT_DIR"/target_platform_deps.xml" --platform linux --postscript $BLAST_ROOT_DIR"/buildtools/cmake_projects_linux.sh"