Skip to content

Commit

Permalink
Always use C as linker language for CBLAS
Browse files Browse the repository at this point in the history
  • Loading branch information
weslleyspereira committed Oct 31, 2023
1 parent 33b3a45 commit dfb84d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CBLAS/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ if(BUILD_INDEX64_EXT_API)
add_library(${CBLASLIB}_64_fobj OBJECT ${SOURCES_64_F})
set_target_properties(${CBLASLIB}_64_cobj ${CBLASLIB}_64_fobj PROPERTIES
POSITION_INDEPENDENT_CODE ON
Fortran_PREPROCESS ON)
Fortran_PREPROCESS ON
LINKER_LANGUAGE C)
target_compile_options(${CBLASLIB}_64_cobj PRIVATE -DWeirdNEC -DCBLAS_API64)
target_compile_options(${CBLASLIB}_64_fobj PRIVATE ${FOPT_ILP64})
#Add suffix to all Fortran functions via macros
Expand Down

0 comments on commit dfb84d0

Please sign in to comment.