mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-09-19 22:08:32 +00:00
community/vtk: fix
This commit is contained in:
parent
88fc4b1454
commit
1abac9615b
|
@ -10,6 +10,7 @@
|
||||||
# - add makedepend on tbb, previously pulled in by ospray
|
# - add makedepend on tbb, previously pulled in by ospray
|
||||||
# - explicitly disable the adios2 module due to -DVTK_BUILD_ALL_MODULES=ON
|
# - explicitly disable the adios2 module due to -DVTK_BUILD_ALL_MODULES=ON
|
||||||
# - generalize moving .so files in install
|
# - generalize moving .so files in install
|
||||||
|
# - explicitly link v5/v6 with libatomic
|
||||||
|
|
||||||
pkgname=vtk
|
pkgname=vtk
|
||||||
pkgver=9.0.3
|
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
|
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
|
# https://gitlab.kitware.com/vtk/vtk/-/merge_requests/8546
|
||||||
sed -i 's/CACHE PATH "License files/CACHE STRING "License files/' CMakeLists.txt
|
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() {
|
build() {
|
||||||
|
|
Loading…
Reference in a new issue