Re: [eigen] Bug in language_support.cmake |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen <eigen@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [eigen] Bug in language_support.cmake
- From: Gael Guennebaud <gael.guennebaud@xxxxxxxxx>
- Date: Sun, 17 Mar 2013 14:25:05 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type:content-transfer-encoding; bh=iQ725UlfEGmrmnYq5xkboOEMfEPnvC+kT8IWzlcOX9s=; b=Q+YKFg0E4GIXUw99ouKcl9PJfK6fX4lKphPcApaBbS4eZj900Hxj7MFisiUonYOPzE KVKLIDDmkJ+Ya7UBNqR3LIgQzNdW3TAR+rxlTNXAI9sjfojsFmheXvoM/ummQcO9f/XJ 5X9A6dKCx5DS7+fqJIouLmxy8qksBRr+VabrIEtZaSsBsLkh3KopZSX+E8gswmcFQWH3 ISZNfctkvmN30iDgQKJ+CQ+vOFvJ6ar4y2uytbtoKtF/CbXt9DTz+KDKZgYH6Ye5Ge0I 7HKf+QpPV/ql7DxYMX42xDUGhjkCXHt+NxAq/yzfgtLvMe/2y1/L5z78VubMjfhn1Hev 8IBA==
Sounds good to me, change applied
(https://bitbucket.org/eigen/eigen/commits/1c115dca308a/).
thanks,
gael
On Fri, Mar 15, 2013 at 9:45 AM, "Claas H. Köhler" <claas.koehler@xxxxxx> wrote:
> Hi all!
>
> I just tried to compile Eigen including blas, when encountering the following error:
>
> My FORTRAN compiler requires the mandatory flag -static-libgcc to produce valid binaries( this is not
> good, but acceptable)
>
> However, this makes it impossible to use with the cmake-script, since the CMAKE_Fortran_FLAGS and the
> CMAKE_EXE_LINKER_FLAGS are not forwarded to the language_support.cmake script.
>
> When modyfying the script to
>
> set(text
> "project(test NONE)
> cmake_minimum_required(VERSION 2.6.0)
> set (CMAKE_Fortran_FLAGS \"${CMAKE_Fortran_FLAGS}\")
> set (CMAKE_EXE_LINKER_FLAGS \"${CMAKE_EXE_LINKER_FLAGS}\")
> enable_language(${language} OPTIONAL)
> ")
>
> instead of
>
> set(text
> "project(test NONE)
> cmake_minimum_required(VERSION 2.6.0)
> enable_language(${language} OPTIONAL)
> ")
>
> the compiler is recognised fine. Are there any objections to this change? Shall I open a bug-report/
> feature request for this?
>
> Regards
> Claas
>
>
>