Thanks, for the reply. In the end, in fenics-install.sh, I added a sed command which replaced
PATH: /usr/bin:/bin with PATH: /opt/centos/devtoolset-1.1/root/usr/bin/:/usr/bin:/bin in the linux.yaml file On 15 January 2015 at 08:26, Jan Blechta <[email protected]> wrote: > Johannes was talking about a correct way of selecting a compiler > yesterday > http://fenicsproject.org/pipermail/fenics-support/2015-January/001113.html > :) > > Jan > > > On Wed, 14 Jan 2015 15:39:02 +0000 > Thomas Patrick Kelly <[email protected]> wrote: > > > Hi, > > > > Is there a way to pass cmake variables to fenics-install.sh? > > Particularly, I would like to pass > > CMAKE_CXX_COMPILER=/opt/centos/devtoolset-1.1/root/usr/bin/g++ > > > > I ask because if I select option 1 in fenics-install.sh (stable > > release), it fails to compile dolfin. However, if I select option 2 > > (dependencies only), then manually export CMAKE_CXX_COMPILER to g++ v > > 4.7 (In CentOS's devtoolset), it compiles successfully. > > > > Thanks > >
_______________________________________________ fenics-support mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics-support
