mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
community/vtk: fix
This commit is contained in:
parent
88fc4b1454
commit
1abac9615b
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,7 @@
|
|||
# - add makedepend on tbb, previously pulled in by ospray
|
||||
# - explicitly disable the adios2 module due to -DVTK_BUILD_ALL_MODULES=ON
|
||||
# - generalize moving .so files in install
|
||||
# - explicitly link v5/v6 with libatomic
|
||||
|
||||
pkgname=vtk
|
||||
pkgver=9.0.3
|
||||
|
@ -85,6 +86,10 @@ prepare() {
|
|||
sed -i 's/typedef int hid_t;/typedef int64_t hid_t;/' ThirdParty/xdmf3/vtkxdmf3/core/XdmfHDF5Controller.hpp
|
||||
# https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8546
|
||||
sed -i 's/CACHE PATH "License files/CACHE STRING "License files/' CMakeLists.txt
|
||||
# explicitly link with libatomic
|
||||
if [[ $CARCH == "arm" || $CARCH == "armv6h" ]]; then
|
||||
echo "vtk_module_link(VTK::CommonDataModel PUBLIC atomic)" >> Common/DataModel/CMakeLists.txt
|
||||
fi
|
||||
}
|
||||
|
||||
build() {
|
||||
|
|
Loading…
Reference in a new issue