build_sec_OS.sh 418 Bytes
Newer Older
incardon's avatar
incardon committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#! /bin/bash

# Make a directory in /tmp/OpenFPM_pdata

echo "Directory: $1"
echo "Machine: $2"

mkdir src/config


if [ "$2" == "windows10" ]; then
    echo "Compiling on windows10"

    echo "1" > input_install
    echo "2" >> input_install
    echo "y" >> input_install
incardon's avatar
incardon committed
17
    echo "1" >> input_install
incardon's avatar
incardon committed
18

incardon's avatar
incardon committed
19 20 21
    branch=$(git rev-parse --abbrev-ref HEAD)    

    ./install -i "/home/jenkins/$branch" < input_install
incardon's avatar
incardon committed
22 23 24 25

fi