Paraview: Add motionfx Intel workaround (#11608)
* Paraview/VTK: Fix failure on intel builds Paraview@5.6.0 fails to build with intel compilers on certain platforms. Error messages have been traced to the optional MotionFX lib. (see https://discourse.paraview.org/t/error-build-5-6-0-rc1/572) Turning off motionfx allows for succesful builds on these platforms.
This commit is contained in:
parent
406c791b88
commit
a998fa25b0
@ -236,4 +236,11 @@ def nvariant_bool(feature):
|
|||||||
'-DGIT_EXECUTABLE=FALSE'
|
'-DGIT_EXECUTABLE=FALSE'
|
||||||
])
|
])
|
||||||
|
|
||||||
|
# A bug that has been found in vtk causes an error for
|
||||||
|
# intel builds for version 5.6. This should be revisited
|
||||||
|
# with later versions of Paraview to see if the issues still
|
||||||
|
# arises.
|
||||||
|
if '%intel' in spec and spec.version >= Version('5.6'):
|
||||||
|
cmake_args.append('-DPARAVIEW_ENABLE_MOTIONFX:BOOL=OFF')
|
||||||
|
|
||||||
return cmake_args
|
return cmake_args
|
||||||
|
@ -253,4 +253,8 @@ def cmake_args(self):
|
|||||||
self.compiler.version >= Version('5.1.0')):
|
self.compiler.version >= Version('5.1.0')):
|
||||||
cmake_args.extend(['-DVTK_REQUIRED_OBJCXX_FLAGS=""'])
|
cmake_args.extend(['-DVTK_REQUIRED_OBJCXX_FLAGS=""'])
|
||||||
|
|
||||||
|
# A bug in tao pegtl causes build failures with intel compilers
|
||||||
|
if '%intel' in spec and spec.version >= Version('8.2'):
|
||||||
|
cmake_args.append(
|
||||||
|
'-DVTK_MODULE_ENABLE_VTK_IOMotionFX:BOOL=OFF')
|
||||||
return cmake_args
|
return cmake_args
|
||||||
|
Loading…
Reference in New Issue
Block a user