1
0
mirror of synced 2024-06-11 06:59:57 +02:00

Compare commits

..

No commits in common. "6245c121844a289da058c6516bf27298fc2d6ed1" and "20147d69a136d9a86771052c9f0d076d20dce9e7" have entirely different histories.

View File

@ -79,12 +79,12 @@ src_configure() {
fi
export CFLAGS="-pthread ${CFLAGS}"
export GIT_REPO_VERSION=3.0.1.1
export DO_NOT_USE_PIP=true
#export LDFLAGS="-lpthread ${LDFLAGS}"
#-CC="$(tc-getCC)"
#-DFETCHCONTENT_SOURCE_DIR_GTS="${WORKDIR}/${P}/gts-${GTS_HASH}"
#-DUSE_SYSTEM_GTS=OFF
local mycmakeargs=(
-GNinja
-DLIBDIR=/usr/$(get_libdir)
-DNIFTI_INSTALL_LIBRARY_DIR=/usr/$(get_libdir)
-DGIFTI_INSTALL_LIBRARY_DIR=/usr/$(get_libdir)
@ -101,25 +101,20 @@ src_configure() {
-DCOMP_GUI=ON
-DCOMP_PLUGINS=ON
-DUSE_OMP=ON
#-DCOMP_PYTHON=OFF
-DCOMP_PYTHON=ON
#-DSTANDARD_PYTHON_INSTALL=OFF
#-DPython_FIND_VIRTUALENV=STANDARD
#-DPython_FIND_STRATEGY=LOCATION
-DCOMP_PYTHON=OFF
#-DCOMP_PYTHON=ON
-DPython_FIND_VIRTUALENV=STANDARD
-DPython_FIND_STRATEGY=LOCATION
-DUSE_SYSTEM_F2C=ON
)
#-DBUILD_SHARED_LIBS=OFF
tc-export CC
python_foreach_impl cmake_src_configure
python_foreach_impl python_optimize
cmake_src_configure
}
src_compile() {
python_foreach_impl cmake_src_compile
#cmake_src_compile
#cd ../afni-9999_build
#default
#eninja || die
cd ../afni-9999_build
eninja || die
}
#/work/afni-9999/nifti_clib-65f801b9c2f1f15f4de4a19d45e6595c25765632
@ -130,8 +125,5 @@ src_install() {
# File collision, upstream confirmation here:
# https://github.com/afni/afni/issues/558#issuecomment-1887693900
cd ${D}
pwd
ls -lah
#exit
rm usr/bin/mpeg_encode
}