[llvm-branch-commits] [llvm-branch] r245088 - Merging r244232 and r244659:
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri Aug 14 12:51:38 PDT 2015
Author: hans
Date: Fri Aug 14 14:51:38 2015
New Revision: 245088
URL: http://llvm.org/viewvc/llvm-project?rev=245088&view=rev
Log:
Merging r244232 and r244659:
------------------------------------------------------------------------
r244232 | rnk | 2015-08-06 10:17:44 -0700 (Thu, 06 Aug 2015) | 5 lines
[cmake] Handle Dragonfly BSD like FreeBSD
Fixes build break reported in PR24358.
Patch by John Marino.
------------------------------------------------------------------------
------------------------------------------------------------------------
r244659 | rnk | 2015-08-11 13:28:28 -0700 (Tue, 11 Aug 2015) | 3 lines
[cmake] Shorten FreeBSD and DragonFly checks as suggested post-commit
NFC
------------------------------------------------------------------------
Modified:
llvm/branches/release_37/ (props changed)
llvm/branches/release_37/CMakeLists.txt
Propchange: llvm/branches/release_37/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Aug 14 14:51:38 2015
@@ -1,3 +1,3 @@
/llvm/branches/Apple/Pertwee:110850,110961
/llvm/branches/type-system-rewrite:133420-134817
-/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244332,244418,244554,244644,244676,244789,244889
+/llvm/trunk:155241,242236,242239,242281,242288,242296,242331,242341,242410,242412,242433-242434,242442,242543,242673,242680,242706,242721-242722,242733-242735,242742,242869,242919,242993,243001,243057,243116,243263,243294,243361,243469,243485,243500,243519,243531,243589,243609,243636,243638-243640,243745,243891,243898,243927,243932,243934,243984,243986,243999,244058,244123,244232,244332,244418,244554,244644,244659,244676,244789,244889
Modified: llvm/branches/release_37/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_37/CMakeLists.txt?rev=245088&r1=245087&r2=245088&view=diff
==============================================================================
--- llvm/branches/release_37/CMakeLists.txt (original)
+++ llvm/branches/release_37/CMakeLists.txt Fri Aug 14 14:51:38 2015
@@ -518,7 +518,7 @@ if (APPLE)
else(UNIX)
if(NOT DEFINED CMAKE_INSTALL_RPATH)
set(CMAKE_INSTALL_RPATH "\$ORIGIN/../lib${LLVM_LIBDIR_SUFFIX}")
- if (${CMAKE_SYSTEM_NAME} MATCHES FreeBSD)
+ if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-z,origin")
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,-z,origin")
endif()
@@ -544,12 +544,12 @@ if(LLVM_USE_HOST_TOOLS)
include(CrossCompile)
endif(LLVM_USE_HOST_TOOLS)
-if( ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD )
+if(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)")
# On FreeBSD, /usr/local/* is not used by default. In order to build LLVM
# with libxml2, iconv.h, etc., we must add /usr/local paths.
include_directories("/usr/local/include")
link_directories("/usr/local/lib")
-endif( ${CMAKE_SYSTEM_NAME} MATCHES FreeBSD )
+endif(${CMAKE_SYSTEM_NAME} MATCHES "(FreeBSD|DragonFly)")
if( ${CMAKE_SYSTEM_NAME} MATCHES SunOS )
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include llvm/Support/Solaris.h")
More information about the llvm-branch-commits
mailing list