You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mnemonic.apache.org by ga...@apache.org on 2018/03/11 06:57:24 UTC

mnemonic git commit: MNEMONIC-465: build broken on fedora

Repository: mnemonic
Updated Branches:
  refs/heads/master b837b8813 -> a07020304


MNEMONIC-465: build broken on fedora


Project: http://git-wip-us.apache.org/repos/asf/mnemonic/repo
Commit: http://git-wip-us.apache.org/repos/asf/mnemonic/commit/a0702030
Tree: http://git-wip-us.apache.org/repos/asf/mnemonic/tree/a0702030
Diff: http://git-wip-us.apache.org/repos/asf/mnemonic/diff/a0702030

Branch: refs/heads/master
Commit: a070203049a00b0bc44a6fee9077a405c13fe0da
Parents: b837b88
Author: Wang, Gang(Gary) <ga...@apache.org>
Authored: Sat Mar 10 22:42:38 2018 -0800
Committer: Wang, Gang(Gary) <ga...@apache.org>
Committed: Sat Mar 10 22:42:38 2018 -0800

----------------------------------------------------------------------
 .../mnemonic-nvml-pmem-service/src/main/native/CMakeLists.txt    | 4 ++--
 .../mnemonic-nvml-vmem-service/src/main/native/CMakeLists.txt    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mnemonic/blob/a0702030/mnemonic-memory-services/mnemonic-nvml-pmem-service/src/main/native/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/mnemonic-memory-services/mnemonic-nvml-pmem-service/src/main/native/CMakeLists.txt b/mnemonic-memory-services/mnemonic-nvml-pmem-service/src/main/native/CMakeLists.txt
index ca27352..f641de1 100644
--- a/mnemonic-memory-services/mnemonic-nvml-pmem-service/src/main/native/CMakeLists.txt
+++ b/mnemonic-memory-services/mnemonic-nvml-pmem-service/src/main/native/CMakeLists.txt
@@ -38,12 +38,12 @@ include_directories(${JNI_INCLUDE_DIRS})
 find_package(Threads REQUIRED)
 include_directories(${CMAKE_THREAD_LIBS_INIT})
 
-find_library(LIBPMEM_LIBRARIES NAMES libpmem.a)
+find_library(LIBPMEM_LIBRARIES NAMES libpmem.a libpmem.so)
 if (NOT LIBPMEM_LIBRARIES)
    message(FATAL_ERROR "not found pmem library")
 endif (NOT LIBPMEM_LIBRARIES)
 
-find_library(LIBPMEMOBJ_LIBRARIES NAMES libpmemobj.a)
+find_library(LIBPMEMOBJ_LIBRARIES NAMES libpmemobj.a libpmemobj.so)
 if (NOT LIBPMEMOBJ_LIBRARIES)
    message(FATAL_ERROR "not found pmemobj library")
 endif (NOT LIBPMEMOBJ_LIBRARIES)

http://git-wip-us.apache.org/repos/asf/mnemonic/blob/a0702030/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/CMakeLists.txt b/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/CMakeLists.txt
index 8aae0aa..382c048 100644
--- a/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/CMakeLists.txt
+++ b/mnemonic-memory-services/mnemonic-nvml-vmem-service/src/main/native/CMakeLists.txt
@@ -38,7 +38,7 @@ include_directories(${JNI_INCLUDE_DIRS})
 find_package(Threads REQUIRED)
 include_directories(${CMAKE_THREAD_LIBS_INIT})
 
-find_library(LIBVMEM_LIBRARIES NAMES libvmem.a)
+find_library(LIBVMEM_LIBRARIES NAMES libvmem.a libvmem.so)
 if (NOT LIBVMEM_LIBRARIES)
    message(FATAL_ERROR "not found vmem library")
 endif (NOT LIBVMEM_LIBRARIES)