Skip to content

rearranging variables in setup_yaml.sh

Oleksandr Zenaiev requested to merge tune-install-yaml into master

Having -lyaml-cpp in CPPFLAGS, CXXFLAGS leads to problems when compiling some codes, e.g. APFEL-3.0.4:

libtool: link: /cvmfs/sft.cern.ch/lcg/contrib/gcc/4.9/x86_64-slc6/bin/gfortran -g -O3 -Wunused -o .libs/Tabulation Tabulation.o ../lib/.libs/libAPFEL.so /cvmfs/sft.cern.ch/lcg/contrib/gcc/4.9.3/x86_64-slc6/lib/../lib64/libgfortran.so /cvmfs/sft.cern.ch/lcg/contrib/gcc/4.9.3/x86_64-slc6/lib/../lib64/libquadmath.so -lyaml-cpp /cvmfs/sft.cern.ch/lcg/contrib/gcc/4.9.3/x86_64-slc6/lib/../lib64/libstdc++.so -lm -Wl,-rpath -Wl,/nfs/dust/cms/user/zenaiev/xfitter/install-020719-2/deps/apfel/lib -Wl,-rpath -Wl,/cvmfs/sft.cern.ch/lcg/contrib/gcc/4.9.3/x86_64-slc6/lib/../lib64 /usr/bin/ld: cannot find -lyaml-cpp collect2: error: ld returned 1 exit status

Moving linking variables to LDFLAGS seems to work fine.

Merge request reports