diff options
author | Patrick Gartung <gartung@fnal.gov> | 2018-10-04 18:12:53 -0500 |
---|---|---|
committer | Peter Scheibel <scheibel1@llnl.gov> | 2018-10-04 16:12:53 -0700 |
commit | d981f28a8050acb077d206041669fc70b5f32568 (patch) | |
tree | 98f1323051ceb8f8fbb472b7e10ec70e8feb3da0 | |
parent | 5a20217a54505b60af795dbc2d52bac407d96cef (diff) | |
download | spack-d981f28a8050acb077d206041669fc70b5f32568.tar.gz spack-d981f28a8050acb077d206041669fc70b5f32568.tar.bz2 spack-d981f28a8050acb077d206041669fc70b5f32568.tar.xz spack-d981f28a8050acb077d206041669fc70b5f32568.zip |
Davix version update (#9304)
* Replace old version with new version
* Remove patch only needed by CMS
-rw-r--r-- | var/spack/repos/builtin/packages/davix/davix-0.6.7-uuid.patch | 66 | ||||
-rw-r--r-- | var/spack/repos/builtin/packages/davix/package.py | 5 |
2 files changed, 2 insertions, 69 deletions
diff --git a/var/spack/repos/builtin/packages/davix/davix-0.6.7-uuid.patch b/var/spack/repos/builtin/packages/davix/davix-0.6.7-uuid.patch deleted file mode 100644 index 97d56315ca..0000000000 --- a/var/spack/repos/builtin/packages/davix/davix-0.6.7-uuid.patch +++ /dev/null @@ -1,66 +0,0 @@ ---- - cmake/modules/Finduuid.cmake | 48 +++++++++++++++++------------------- - 1 file changed, 22 insertions(+), 26 deletions(-) - -diff --git a/cmake/modules/Finduuid.cmake b/cmake/modules/Finduuid.cmake -index 2f97a1f..e2c7d13 100644 ---- a/cmake/modules/Finduuid.cmake -+++ b/cmake/modules/Finduuid.cmake -@@ -1,32 +1,28 @@ --# Try to find uuid --# Once done, this will define --# --# UUID_FOUND - system has uuid --# UUID_INCLUDE_DIRS - uuid include directories --# UUID_LIBRARIES - libraries needed to use uuid -- -+include(CheckCXXSymbolExists) -+include(CheckLibraryExists) - include(FindPackageHandleStandardArgs) - --if(UUID_INCLUDE_DIRS AND UUID_LIBRARIES) -- set(UUID_FIND_QUIETLY TRUE) --else() -- find_path( -- UUID_INCLUDE_DIR -- NAMES uuid.h -- HINTS ${UUID_ROOT_DIR} -- PATH_SUFFIXES include uuid) -- -- find_library( -- UUID_LIBRARY -- NAMES uuid -- HINTS ${UUID_ROOT_DIR} -- PATH_SUFFIXES ${LIBRARY_PATH_PREFIX}) -+if(NOT UUID_INCLUDE_DIR) -+ find_path(UUID_INCLUDE_DIR uuid/uuid.h) -+endif() - -+if(EXISTS UUID_INCLUDE_DIR) - set(UUID_INCLUDE_DIRS ${UUID_INCLUDE_DIR}) -- set(UUID_LIBRARIES ${UUID_LIBRARY}) -- -- find_package_handle_standard_args( -- uuid DEFAULT_MSG UUID_LIBRARY UUID_INCLUDE_DIR) -+ set(CMAKE_REQUIRED_INCLUDES ${UUID_INCLUDE_DIRS}) -+ check_cxx_symbol_exists("uuid_generate_random" "uuid/uuid.h" _uuid_header_only) -+endif() - -- mark_as_advanced(UUID_INCLUDE_DIR UUID_LIBRARY) -+if(NOT _uuid_header_only AND NOT UUID_LIBRARY) -+ check_library_exists("uuid" "uuid_generate_random" "" _have_libuuid) -+ if(_have_libuuid) -+ set(UUID_LIBRARY "uuid") -+ set(UUID_LIBRARIES ${UUID_LIBRARY}) -+ endif() - endif() -+ -+unset(CMAKE_REQUIRED_INCLUDES) -+unset(_uuid_header_only) -+unset(_have_libuuid) -+ -+find_package_handle_standard_args(uuid DEFAULT_MSG UUID_INCLUDE_DIR) -+mark_as_advanced(UUID_INCLUDE_DIR UUID_LIBRARY) --- -2.17.0 - diff --git a/var/spack/repos/builtin/packages/davix/package.py b/var/spack/repos/builtin/packages/davix/package.py index c9bcde74ce..935d9669df 100644 --- a/var/spack/repos/builtin/packages/davix/package.py +++ b/var/spack/repos/builtin/packages/davix/package.py @@ -33,11 +33,10 @@ class Davix(CMakePackage): list_url = "http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/" list_depth = 1 - version('0.6.7', 'f811647d924a6dc5852c92110359ed91') + version('0.6.8', 'e1820f4cc3fc44858ae97197a3922cce2a1130ff553b080ba19e06eb8383ddf7', + url='http://grid-deployment.web.cern.ch/grid-deployment/dms/lcgutil/tar/davix/0.6.8/davix-0.6.8.tar.gz') depends_on('pkgconfig', type='build') depends_on('libxml2') depends_on('libuuid') depends_on('openssl') - - patch('davix-0.6.7-uuid.patch', when="@0.6.7") |