-
AGULLO Emmanuel authored
Splitting fabulous_c_api (which included fortran symbols) into fabulous_c_api and fabulous_fortran_fapi. This commit is a tentative for fixing the following issue https://gitlab.inria.fr/guix-hpc/guix-hpc/-/jobs/688574 The build of libfabulous including both C and fortran APIs was inducing a fragile context for retrieving symbols such as the float square root (sqrtf) which was linked to the C sqrtf when Fortran was off (expected behaviour) but to the C++ one when Fortran was on (breaking the code). - https://en.cppreference.com/w/c/numeric/math/sqrt - https://www.gnu.org/software/libc/manual/html_node/Exponents-and-Logarithms.html#index-sqrtf [ 25%] Linking CXX shared library libfabulous.so cd /tmp/guix-build-fabulous-1.0.1.drv-0/build/src/api && /gnu/store/89rj5fqcg48afgk99639ds602pgf92k4-cmake-minimal-3.16.5/bin/cmake -E cmake_link_script CMakeFiles/fabulous_c_api.dir/link.txt --verbose=1 /gnu/store/rn75fm7adgx3pw5j8pg3bczfqq1y17lk-gcc-7.5.0/bin/c++ ...
96b3922b