Commit 42fb28ab authored by Jørgen Lind's avatar Jørgen Lind
Browse files

Fix dms segfaulting on Cento7 builds (including manylinux 2014)

parent 7d55e1ce
Pipeline #74618 passed with stages
in 17 minutes and 49 seconds
......@@ -49,6 +49,13 @@ if (NOT DISABLE_AWS_IOMANAGER)
file(GLOB SRC_LIB_PROVIDERS_IBM ${dmsCMakeDir}/src/lib/cloud/providers/ibm/*.cc)
set(SOURCES ${SOURCES} ${SRC_LIB_PROVIDERS_IBM})
set_source_files_properties(${dmsCMakeDir}/src/lib/cloud/providers/ibm/IbmStorage.cc PROPERTIES COMPILE_FLAGS ${DISABLE_WARNING_FLAG})
#to work around Aws::String problem
#https://github.com/aws/aws-sdk-cpp/blob/266d7682c3d07d41618c41a3521811e1219c1bc7/aws-cpp-sdk-core/include/aws/core/utils/memory/stl/AWSString.h#L21
if (NOT MSVC)
set_property(SOURCE ${dmsCMakeDir}/src/lib/cloud/providers/aws/AwsStorage.cc APPEND_STRING PROPERTY COMPILE_FLAGS " -fvisibility=default")
set_property(SOURCE ${dmsCMakeDir}/src/lib/cloud/providers/ibm/IbmStorage.cc APPEND_STRING PROPERTY COMPILE_FLAGS " -fvisibility=default")
endif()
endif()
# set major library versions
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment