kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpe...@apache.org
Subject [kudu] 01/02: [cmake] Fix ASAN build on macOS
Date Tue, 03 Mar 2020 05:30:47 GMT
This is an automated email from the ASF dual-hosted git repository.

mpercy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git

commit f2af57db50ec68ceb1af97c9788776c1911a8fb6
Author: Michael Percy <mpercy@fb.com>
AuthorDate: Fri Feb 28 18:54:10 2020 -0800

    [cmake] Fix ASAN build on macOS
    
    Fixes the following error on macOS:
    
    CMake Error at CMakeLists.txt:1183 (get_filename_component):
      get_filename_component called with incorrect number of arguments
    
    Change-Id: Ic5f0039c6f48214ccf0948536533fdfb58c10619
    Reviewed-on: http://gerrit.cloudera.org:8080/15342
    Reviewed-by: Grant Henke <granthenke@apache.org>
    Tested-by: Kudu Jenkins
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7ddab9e..4cd8575 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1181,7 +1181,7 @@ ADD_THIRDPARTY_LIB(boost_date_time
 # in the libc++ library for some reason.
 if (APPLE)
   get_filename_component(SIZED_DEALLOCATION_TEST_TCMALLOC_LIBDIR
-    ${TCMALLOC_STATIC_LIB} DIRECTORY)
+    "${TCMALLOC_STATIC_LIB}" DIRECTORY)
   execute_process(
     COMMAND printf
       "#include <new>\nint main(){(::operator delete)(0,256);return 0;}\n"


Mime
View raw message