{
patches: ['SPNS-29988-CONFIGURATION-V9_9_0.patch']
}
+
+version_v9_2_0_CO8 :
+{
+ patches: ['SPNS-32926-CONFIGURATION-V9_2_0.FindXDR.patch']
+}
has_unit_tests
incremental : "yes"
}
+ patches: []
}
default_win :
]
}
+version_V9_2_0 :
+{
+ cmake_options : "-DSALOME_USE_LIBBATCH=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_CMAKE_DEBUG=ON "
+ depend : ["Python",
+ "boost",
+ "cppunit",
+ "numpy",
+ "lapack",
+ "hdf5",
+ "omniORB",
+ "omniORBpy",
+ "docutils",
+ "libxml2",
+ "Sphinx",
+ "sphinxintl",
+ "Jinja2",
+ "setuptools",
+ "Pygments",
+ "pytz",
+ "LIBBATCH"
+ ]
+ patches: []
+}
+
version_V8_5_0_to_V9_6_0:
{
cmake_options : "-DSALOME_USE_LIBBATCH=ON -DSWIG_EXECUTABLE=${SWIG_ROOT_DIR}/bin/swig -DSALOME_CMAKE_DEBUG=ON "
--- /dev/null
+diff --git a/cmake/FindXDR.cmake b/cmake/FindXDR.cmake
+index e8e8625..52f2de9 100644
+--- a/cmake/FindXDR.cmake
++++ b/cmake/FindXDR.cmake
+@@ -19,7 +19,7 @@
+
+ MESSAGE(STATUS "Check for XDR ...")
+
+-FIND_PATH(XDR_INCLUDE_DIRS rpc/xdr.h)
++FIND_PATH(XDR_INCLUDE_DIRS rpc/xdr.h PATH_SUFFIXES tirpc)
+ IF(XDR_INCLUDE_DIRS)
+ SET(XDR_DEFINITIONS "-DHAS_XDR")
+ ENDIF()
+@@ -34,6 +34,14 @@ IF(WIN32)
+ SET(XDR_INCLUDE_DIRS "${XDR_INCLUDE_DIRS2}") # Make the detection fail
+ ENDIF()
+ ENDIF()
++ELSE(WIN32)
++ FIND_LIBRARY(XDR_LIBRARIES NAMES tirpc xdr)
++ IF(NOT XDR_LIBRARIES)
++ MESSAGE(STATUS "Could not find XDR libraries ...")
++ SET(XDR_LIBRARIES) # reset variable tough
++ ELSE()
++ MESSAGE(STATUS "Found XDR libraries ${XDR_LIBRARIES} ...")
++ ENDIF()
+ ENDIF(WIN32)
+
+ INCLUDE(FindPackageHandleStandardArgs)
--- /dev/null
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bd02fc5b5..c3da8a99e 100755
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -92,7 +92,7 @@ FIND_PACKAGE(SalomeSWIG REQUIRED)
+ FIND_PACKAGE(SalomeLibXml2 REQUIRED)
+ FIND_PACKAGE(SalomeHDF5 REQUIRED COMPONENTS C)
+ FIND_PACKAGE(SalomeBoost REQUIRED)
+-
++FIND_PACKAGE(SalomeXDR REQUIRED)
+ # Optional prerequisites
+ # ======================
+
+diff --git a/src/Communication/CMakeLists.txt b/src/Communication/CMakeLists.txt
+index 643dd6f4b..c57270285 100755
+--- a/src/Communication/CMakeLists.txt
++++ b/src/Communication/CMakeLists.txt
+@@ -27,6 +27,7 @@ INCLUDE_DIRECTORIES(
+ ${CMAKE_CURRENT_SOURCE_DIR}/../SALOMELocalTrace
+ ${CMAKE_CURRENT_SOURCE_DIR}/../Utils
+ ${PROJECT_BINARY_DIR}/idl
++ ${XDR_INCLUDE_DIRS}
+ )
+
+ SET(COMMON_LIBS