]> rtime.felk.cvut.cz Git - orte.git/blob - switch2standalone
JORTE: ignore 'int-to-pointer' and 'pointer-to-int' compiler warnings
[orte.git] / switch2standalone
1 #!/bin/bash
2
3 # Script to modify Makefile.rules for standalone build
4 # without OCERA framework
5
6 if [ ! -e Makefile.rules-ocera ] ; then
7   cp Makefile.rules Makefile.rules-ocera
8 fi
9
10 if [ -e OCERA_TOP_DIR ] ; then
11   mv -f OCERA_TOP_DIR OCERA_TOP_DIR-ocera
12 fi
13
14 # Commentout definition of OCERA location
15 #sed -e 's/^OCERA_DIR := /#OCERA_DIR := /' <Makefile.rules-ocera >Makefile.rules
16
17 # Prepare "config.omk-default" file, user overrides should go into "config.omk"
18 make default-config
19
20 echo 
21 echo 'To modify required configuration options, create "config.omk" file'
22 echo 'and add modified lines from "config.omk-default" file into it'
23 echo 
24 echo 'To build project, call simple "make"'
25 echo
26 echo 'GNU make program version 3.81beta1 or newer is required to build project'
27 echo 'check by "make --version" command' 
28 echo