text 修复GC 8 PKGBUILD ITK 4.13
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了text 修复GC 8 PKGBUILD ITK 4.13相关的知识,希望对你有一定的参考价值。
# Maintainer: Chris <christopher.r.mullins g-mail>
# Contributor: Andrzej Giniewicz <gginiu@gmail.com>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: joel schaerer <joel.schaerer@laposte.net>
pkgname=insight-toolkit
pkgver=4.13.0
pkgrel=10
pkgdesc='Cross-platform system that provides developers with an extensive suite of software tools for image analysis'
arch=('i686' 'x86_64')
url='http://www.itk.org/'
license=('APACHE')
depends=('fftw' 'libjpeg-turbo' 'libpng' 'zlib' 'libtiff' 'gdcm' 'expat' 'hdf5-cpp-fortran' 'gtest')
optdepends=('python2: build python wrapping'
'ruby'
'tcl: build tcl wrapping (currently not supported)'
'perl: build perl wrapping (currently not supported)'
'java-runtime: build java wrapping (currently not supported)'
'swig: generate python wrappers'
'pcre: for wrapping'
'castxml-git: for wrapping and docs'
'clang: for swig'
'castxml-git: for ITK')
makedepends=('cmake')
source=("http://downloads.sourceforge.net/project/itk/itk/${pkgver:0:4}/InsightToolkit-${pkgver}.tar.xz"
"https://github.com/vxl/vxl/commit/2662860491ff44a16e01581a6b3727d53997fee8.patch"
)
sha512sums=('5ab7b411f70c39a937baee03e75df18fdd53479691b7829c37637163314c26a01cf50628ce3c9503f952eb02c1746688719fdca525650f0747af184117680006'
'532401976b598e8519ff78aa7a6d4d712b9a06c9abc8f3a22007c566ac1ea79768315c55d10b8554e94716972e43759f8810a02b71ecf19f0dba38dd0a4cb816')
_usepython=false
prepare() {
cd "$srcdir/InsightToolkit-${pkgver}"
pwd
patch -Np1 -i "../2662860491ff44a16e01581a6b3727d53997fee8.patch" Modules/ThirdParty/VNL/src/vxl/vcl/vcl_compiler.h
}
build() {
cd "$srcdir"
rm -rf build
mkdir build
cd build
cmake \
-DCMAKE_BUILD_TYPE:STRING=Release \
-DBUILD_TESTING:BOOL=OFF \
-DBUILD_EXAMPLES:BOOL=OFF \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DCMAKE_INSTALL_PREFIX:FILEPATH=/usr \
-DModule_ITKReview:BOOL=ON \
-DITK_USE_SYSTEM_JPEG:BOOL=ON \
-DITK_USE_SYSTEM_PNG:BOOL=ON \
-DITK_USE_SYSTEM_ZLIB:BOOL=ON \
-DITK_USE_SYSTEM_TIFF:BOOL=ON \
-DITK_USE_SYSTEM_GDCM:BOOL=ON \
-DITK_LEGACY_SILENT:BOOL=ON \
$( $_usepython && echo "-DITK_WRAP_PYTHON:BOOL=ON") \
$( $_usepython && echo "-DModule_ITKReview:BOOL=OFF") \
$( $_usepython && echo "-DITK_USE_SYSTEM_SWIG:BOOL=ON") \
$( $_usepython && echo "-DITK_USE_SYSTEM_CASTXML:BOOL=ON") \
-DCMAKE_CXX_FLAGS:STRING="-std=c++98" \
-DITK_USE_SYSTEM_LIBRARIES:BOOL=ON \
-DITK_USE_SYSTEM_EXPAT:BOOL=ON \
-DITK_USE_SYSTEM_FFTW:BOOL=ON \
-DITK_USE_SYSTEM_HDF5:BOOL=ON \
-DModule_ITKIOMINC:BOOL=ON \
-DModule_ITKIOTransformMINC:BOOL=ON \
../InsightToolkit-${pkgver}
make
}
package() {
cd "$srcdir"/build
make DESTDIR="${pkgdir}" install
}
以上是关于text 修复GC 8 PKGBUILD ITK 4.13的主要内容,如果未能解决你的问题,请参考以下文章
text 乌托邦文件PKGBUILD
text PKGBUILD draftsight 2018SP3-1
text Orfeo Toolbox v6.6.0 PKGBUILD
text Orfeo Toolbox v6.6.0 PKGBUILD
使用 QT+VTK+ITK 构建项目时出现 FDFImageIO 错误
HBase 调优 | JDK 从8升级到11,使用 G1 GC,HBase 性能下降近20%。JDK 到底干了什么?