build_sec_OS.sh 400 Bytes
Newer Older
incardon's avatar
incardon committed
1 2 3 4 5 6
#! /bin/bash

# Make a directory in /tmp/OpenFPM_pdata

echo "Directory: $1"
echo "Machine: $2"
incardon's avatar
incardon committed
7
echo "Branch: $BRANCH_NAME"
incardon's avatar
incardon committed
8 9 10 11 12 13 14 15 16 17

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
18
    echo "1" >> input_install
incardon's avatar
incardon committed
19

incardon's avatar
incardon committed
20
    ./install -i "/home/jenkins/$BRANCH_NAME" < input_install
incardon's avatar
incardon committed
21 22 23 24

fi