← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/main] Rev 4929: Fix typo in UMFPACK configure script, works now.

 

On Tue, 2010-08-10 at 13:57 +0000, noreply@xxxxxxxxxxxxx wrote:
> ------------------------------------------------------------
> revno: 4929
> committer: Anders Logg <logg@xxxxxxxxx>
> branch nick: dolfin-dev
> timestamp: Tue 2010-08-10 15:55:16 +0200
> message:
>   Fix typo in UMFPACK configure script, works now.


Are you sure? Doesn't look like the libs are being set.

Garth

> modified:
>   cmake/FindUMFPACK.dolfin.cmake
> 
> 
> --
> lp:dolfin
> https://code.launchpad.net/~dolfin-core/dolfin/main
> 
> Your team DOLFIN Core Team is subscribed to branch lp:dolfin.
> To unsubscribe from this branch go to https://code.launchpad.net/~dolfin-core/dolfin/main/+edit-subscription
> differences between files attachment (revision-diff.txt)
> === modified file 'cmake/FindUMFPACK.dolfin.cmake'
> --- cmake/FindUMFPACK.dolfin.cmake	2010-08-10 13:03:42 +0000
> +++ cmake/FindUMFPACK.dolfin.cmake	2010-08-10 13:55:16 +0000
> @@ -24,12 +24,13 @@
>  # Try compiling and running test program
>  if(UMFPACK_INCLUDE_DIR AND UMFPACK_LIBRARY)
>    message("   found package 'UMFPACK'")
> +
> +  # Set flags for building test program
> +  set(CMAKE_REQUIRED_INCLUDES ${UMFPACK_INCLUDE_DIR})
> +  set(CMAKE_REQUIRED_LIBRARIES ${UMFPACK_LIBRARY})
> +
> +  # Build and run test program
>    include(CheckCXXSourceRuns)
> -  set(CMAKE_REQUIRED_INCLUDES ${UMFPACK_INCLUDE_DIR})
> -  set(CMAKE_REQUIRE_LIBRARIES ${UMFPACK_LIBRARY})
> -
> -  message("includes = ${CMAKE_REQUIRED_INCLUDES}")
> -  message("libs     = ${CMAKE_REQUIRED_LIBRARIES}")
>    check_cxx_source_runs("
>  /* Test program umfpack-ex1.c */
>  
> 





Follow ups