I verified it when I tried the workaround and it seems to work fine, at
least in this case.

Here is my build log

== 2014-10-27 10:36:55,249 main.run INFO cmd "unset CC && unset CXX &&
 make -j 1 " exited with exitcode 0 and output:
cat: src/version_git.h: No such file or directory
wget -q http://hypervolu.me/freebayes/build/ &
cd src && make
make[1]: Entering directory
`/tmp/easybuild/freebayes/0.9.18-1-g4233a23-dirty/goolf-1.4.10/freebayes/src'
DETECTED_VERSION = v0.9.18-1-g4233a23-dirty
CURRENT_VERSION  =
Updating version file.
cd ../bamtools && mkdir -p build && cd build && cmake .. && make
-- The C compiler identification is GNU 4.7.2
-- The CXX compiler identification is GNU 4.7.2
-- Check for working C compiler: /import/bc2/apps/GCC/4.7.2/bin/cc
-- Check for working C compiler: /import/bc2/apps/GCC/4.7.2/bin/cc -- works

By the way, I just sent a pull request for this easyconfig in case anyone
want to look at it
https://github.com/hpcugent/easybuild-easyconfigs/pull/1165



2014-10-28 11:54 GMT+01:00 Ward Poelmans <[email protected]>:

> On Tue, Oct 28, 2014 at 11:10 AM, Pablo Escobar <[email protected]>
> wrote:
>
> > recently I wrote a FreeBayes easyconfig and I had to add this to the
> > easyconfig to avoid that error
> >
> > # workaround to avoid the error "The C compiler identification is
> unknown"
> > prebuildopts = "unset CC && unset CXX && "
>
> Don't you fall back to system gcc than?
>
> Ward
>



-- 
Pablo Escobar López
HPC systems engineer
Biozentrum, University of Basel
Swiss Institute of Bioinformatics SIB
Email: [email protected]
Phone: +41 61 267 21 80
http://www.biozentrum.unibas.ch

Reply via email to