Sign inSign up

sin1/rose_compiler

By sin1

Updated about 9 years ago

Docker Image of CentOS where ROSE compiler infrastructure installed

Image
0

227

sin1/rose_compiler repository overview

What is ROSE Compiler Infrastructure ?

"ROSE is an open source compiler infrastructure to build source-to-source program transformation and analysis tools for large-scale C (C89 and C98), C++ (C++98 and C++11), UPC, Fortran (77/95/2003), OpenMP, Java, Python and PHP applications. (http://rosecompiler.org/)"


about this image

  • CentOS 6.9 where ROSE compiler Framework installed
  • ROSE compiler installed @ /opt/rose
  • Boost installed @ /opt/boost-1.54
  • Environment variable setting file @ /opt/rose/setPATH.sh
  • Common server environment variable setting file @ /etc/profile.d/rose.sh
/opt/rose/setPATH.sh
   export JAVA_HOME=`readlink /etc/alternatives/java_sdk_openjdk`
   export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rose/lib:/opt/boost-1.54/lib:${JAVA_HOME}/lib:${JAVA_HOME}/jre/lib/amd64/server
   export C_INCLUDE_PATH=$C_INCLUDE_PATH:/opt/rose/include/rose:/opt/boost-1.54/include
   export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:/opt/rose/include/rose:/opt/boost-1.54/include
   export PATH=$PATH:/opt/rose/bin
/etc/profile.d/rose.sh
   source /opt/rose/setPATH.sh  

Notes

At build from Dockerfile

  • RAM:8 GB or more (required)
  • Virtual storage area:20GB or more (recommendation)
  • Required time:About 1 - 2 hours

build

 sudo docker build -t sin1/rose_compiler .  

run

 sudo docker run -itd --name rose sin1/rose_compiler

Expansion of virtual storage area

The following operations are required before "docker build"

console
 sudo service docker stop
 vi /etc/sysconfig/docker
 sudo service docker start
/etc/sysconfig/docker
# Modify these options if you want to change the way the docker daemon runs
OPTIONS=--storage-opt dm.basesize=20G --selinux-enabled -H fd://

Software dependencies

Software componentversion
rose compilerxevolver/rose-xev (based ROSE ver.0.9.7.20)
commit e4bd48887e23a8f0f8910f1f6fb88dc6d7302b56
git1.7.1
wget1.12
gcc4.4.7
autoconf2.69
automake1.15.1
libtool2.4.6
flex2.5.35
bison2.4.1
yacc1.9
jdkjava-1.7.0-openjdk-1.7.0.141.x86_64
python2.6.6
boost1_54_0
bzip21.0.6
zlib1.2.11
ghostscript8.70
doxygen1.6.1
graphviz2.26
CentOSMounted from library/centos:6.9

References

Tag summary

Content type

Image

Digest

Size

478.2 MB

Last updated

about 9 years ago

docker pull sin1/rose_compiler