smithlabcode / dnmtools

Tools for analyzing DNA methylation data
https://dnmtools.readthedocs.io
GNU General Public License v3.0
30 stars 9 forks source link

Building dnmtools using gcc 8.5.0 #229

Closed andrewdavidsmith closed 5 months ago

andrewdavidsmith commented 5 months ago
          See my mention [here](https://github.com/smithlabcode/dnmtools/issues/213#issuecomment-2141004406) for details, but per @andrewdavidsmith's request, I've copied from there my result including the same error as @shaohuaihan.
make[4]: Entering directory `/lustre/project/<PI>/build/centos7/dnmtools/src/abismal'
depbase=`echo src/abismal.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        g++ -std=c++17 -DHAVE_CONFIG_H -I.  -I ./src/smithlab_cpp -I ./src/bamxx  -fopenmp -O3  -MT src/abismal.o -MD -MP -MF $depbase.Tpo -c -o src/abismal.o src/abismal.cpp &&\
        mv -f $depbase.Tpo $depbase.Po
In file included from src/abismal.cpp:34:
src/AbismalAlign.hpp:215:50: error: unknown vectorizer cost model 'very-cheap'
 #pragma GCC optimize("vect-cost-model=very-cheap")
                                                  ^
src/AbismalAlign.hpp:215:50: note: valid arguments to '-fvect-cost-model=' are: cheap dynamic unlimited; did you mean 'cheap'?

I hope this helps.

Best, CB

Originally posted by @cb4github in https://github.com/smithlabcode/dnmtools/issues/209#issuecomment-2147831160