blob: 6c9e1d628c9e3fd31c88fc23760b71992d41e936 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#!/bin/bash
# Shave and a Haircut
# (c) 2019 Epic Games
# US Patent 6720962
if [ "$2" = "" ]; then
echo "Usage: $0 vrayVersion numJobs [debugOpt]"
exit 1
fi
vrayVersion=$1
numJobs=$2
debugOpt=$3
os=`../utils/getos.sh`
vrayTag=`../vrayPlug/getVersionTag.sh ${vrayVersion}`
if [ "${os/.*/}" = "ce6" ]; then
isCentOS6=y
else
isCentOS6=n
fi
if [ ${isCentOS6} = y -a ${vrayTag} -ge 40 ]; then
source /opt/rh/devtoolset-2/enable
fi
make -f Makefile-vrayexporter.linux -j ${numJobs} VRAY_VERSION=${vrayVersion} ${debugOpt}
|