Ignore:
Timestamp:
Sep 11, 2014 7:06:21 PM (6 years ago)
Author:
bradbell
Message:
  1. g++ 4.8.2 has shadow warnings by default, but eigen and fadbad do not

these warnings, so supress then in these cases.

  1. Move check that arguments come before result into on place,

CPPAD_ASSERT_ARG_BEFORE_RESULT (only one argument case so far).

main.cpp: fix shadowing of index variable.
CMakeLists.txt: adapt to change in teuchos library name.
sparse_jacobian.cpp: fix a shadowed variable.
check_svn_id.sh: ignore svn_commit.sh.
gpl_license.sh: ignore svn_commit.sh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/speed/sacado/CMakeLists.txt

    r3122 r3320  
    4545add_cppad_cxx_flags( speed_sacado )
    4646
     47# Find name used for teuchos library
     48SET(teuchos_lib NOTFOUND)
     49FOREACH(dir ${cmake_install_libdirs})
     50        FILE(GLOB file_list ${sacado_prefix}/${dir}/libteuchoscore.*)
     51        IF(file_list)
     52                SET(teuchos_lib teuchoscore)
     53        ENDIF(file_list)
     54        FILE(GLOB file_list ${sacado_prefix}/${dir}/libteuchos.*)
     55        IF(file_list)
     56                SET(teuchos_lib teuchos)
     57        ENDIF(file_list)
     58ENDFOREACH(dir)
     59
    4760# List of libraries to be linked into the specified target
    48 TARGET_LINK_LIBRARIES(speed_sacado speed_src sacado teuchos)
    49 
     61IF(teuchos_lib)
     62        TARGET_LINK_LIBRARIES(speed_sacado speed_src sacado ${teuchos_lib})
     63ELSE(teuchos_lib)
     64        MESSAGE(FATAT_ERROR
     65"
     66For all dir in cmake_install_libdirs, cannot find either
     67        sacado_prefix/dir/teuchos
     68        sacado_prefix/dir/teuchoscore
     69where
     70        sacado_prefix = ${sacado_prefix}
     71        cmake_install_libdirs = ${cmake_install_libdirs}
     72        teuchos_lib= ${teuchos_lib}
     73"
     74        )
     75ENDIF(teuchos_lib)
     76#
    5077# Add the check_speed_sacado target
    5178ADD_CUSTOM_TARGET(check_speed_sacado
Note: See TracChangeset for help on using the changeset viewer.