Skip to content

fix bug: cannot found gfortran lib in openblas#1980

Closed
dzhwinter wants to merge 1 commit intoPaddlePaddle:developfrom
dzhwinter:develop2
Closed

fix bug: cannot found gfortran lib in openblas#1980
dzhwinter wants to merge 1 commit intoPaddlePaddle:developfrom
dzhwinter:develop2

Conversation

@dzhwinter
Copy link
Contributor

No description provided.

@dzhwinter dzhwinter requested review from a user, gangliao, helinwang and typhoonzero May 3, 2017 07:11
@dzhwinter
Copy link
Contributor Author

百度内部开发机,编译openblas找不到gfortran的bug,fix

@gangliao
Copy link
Contributor

gangliao commented May 3, 2017

related to #1958 这里其实已经去掉gfortran了

@dzhwinter
Copy link
Contributor Author

加入向后兼容一下?同学都反映过gfortran这个问题。后续去掉gfortran就确实不需要了,类似的还有swig。依赖太多了

@gangliao
Copy link
Contributor

gangliao commented May 3, 2017

@dzhwinter 好呢

@dzhwinter dzhwinter removed the request for review from a user May 3, 2017 07:46
string(REGEX MATCHALL "[0-9]+" Fortran_VERSION ${CMAKE_Fortran_COMPILER_VERSION})
list(GET Fortran_VERSION 0 Fortran_MAJOR)
list(GET Fortran_VERSION 1 Fortran_MINOR)
set(GCC_INCLUDE_PATH ${CMAKE_C_COMPILER})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里不要叫GCC_INCLUDE_PATH是否好点?

@dzhwinter dzhwinter closed this May 3, 2017
fsylmxx pushed a commit to fsylmxx/Paddle that referenced this pull request Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants