Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Merge pull request #137 from ruslo/pr.cmake
Browse files Browse the repository at this point in the history
CMake 3.8.0
  • Loading branch information
ruslo committed Apr 27, 2017
2 parents 25ddcbc + 4a6bdca commit 881038d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
12 changes: 6 additions & 6 deletions bin/install-ci-dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,18 +141,18 @@ def get_android_url():
def get_cmake_url():
if platform.system() == 'Darwin':
return (
'https://github.com/ruslo/CMake/releases/download/v3.8.0-rc4/cmake-3.8.0-rc4-Darwin-x86_64.tar.gz',
'992b6eae333bb54aedaef16f8ac484e9ba0036f9'
'https://github.com/ruslo/CMake/releases/download/v3.8.0/cmake-3.8.0-Darwin-x86_64.tar.gz',
'36b2d3a10ff10ece72e3e5c50662871e0884522f'
)
elif platform.system() == 'Linux':
return (
'https://github.com/ruslo/CMake/releases/download/v3.8.0-rc4/cmake-3.8.0-rc4-Linux-x86_64.tar.gz',
'd0503deff486fc8cc8617d8cfc7c13560872219f'
'https://github.com/ruslo/CMake/releases/download/v3.8.0/cmake-3.8.0-Linux-x86_64.tar.gz',
'658659622cb743b6982d22452c668f063fe30928'
)
elif platform.system() == 'Windows':
return (
'https://github.com/ruslo/CMake/releases/download/v3.8.0-rc4/cmake-3.8.0-rc4-win64-x64.zip',
'f626e08077f03776abea25166dfc00be88aaa6f7'
'https://github.com/ruslo/CMake/releases/download/v3.8.0/cmake-3.8.0-win64-x64.zip',
'cf883ec577200b5562ee271390576065fbe042cb'
)
else:
sys.exit('Unknown system: {}'.format(platform.system()))
Expand Down
9 changes: 5 additions & 4 deletions flags/sanitize_address.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,11 @@ if(XCODE)
polly_add_cache_flag(CMAKE_EXE_LINKER_FLAGS "${_xcode_asan_lib}")
polly_add_cache_flag(CMAKE_SHARED_LINKER_FLAGS "${_xcode_asan_lib}")

# FIXME: http://www.mail-archive.com/cmake-developers@cmake.org/msg17290.html {
polly_add_cache_flag(CMAKE_EXE_LINKER_FLAGS "-Wl,-rpath,${_xcode_asan_lib_dir}")
polly_add_cache_flag(CMAKE_SHARED_LINKER_FLAGS "-Wl,-rpath,${_xcode_asan_lib_dir}")
# }
if(CMAKE_VERSION VERSION_LESS 3.8.0)
polly_fatal_error("At least CMake 3.8.0 required (BUILD_RPATH feature)")
endif()

set(CMAKE_BUILD_RPATH "${_xcode_asan_lib_dir}")

# Hunter copying rules {
set_property(GLOBAL APPEND PROPERTY HUNTER_COPY_FILES "${_xcode_asan_lib}")
Expand Down

0 comments on commit 881038d

Please sign in to comment.