Compare commits
3 Commits
6245c12184
...
f12e08a643
Author | SHA1 | Date |
---|---|---|
Horea Christian | f12e08a643 | |
Horea Christian | ca35e3c4a7 | |
Horea Christian | da9ddb9921 |
|
@ -79,7 +79,8 @@ src_configure() {
|
||||||
fi
|
fi
|
||||||
export CFLAGS="-pthread ${CFLAGS}"
|
export CFLAGS="-pthread ${CFLAGS}"
|
||||||
export GIT_REPO_VERSION=3.0.1.1
|
export GIT_REPO_VERSION=3.0.1.1
|
||||||
export DO_NOT_USE_PIP=true
|
#export DO_NOT_USE_PIP=true
|
||||||
|
#export EXPLICIT_AFNIPY_INSTALL=false
|
||||||
#export LDFLAGS="-lpthread ${LDFLAGS}"
|
#export LDFLAGS="-lpthread ${LDFLAGS}"
|
||||||
#-CC="$(tc-getCC)"
|
#-CC="$(tc-getCC)"
|
||||||
#-DFETCHCONTENT_SOURCE_DIR_GTS="${WORKDIR}/${P}/gts-${GTS_HASH}"
|
#-DFETCHCONTENT_SOURCE_DIR_GTS="${WORKDIR}/${P}/gts-${GTS_HASH}"
|
||||||
|
@ -101,8 +102,8 @@ src_configure() {
|
||||||
-DCOMP_GUI=ON
|
-DCOMP_GUI=ON
|
||||||
-DCOMP_PLUGINS=ON
|
-DCOMP_PLUGINS=ON
|
||||||
-DUSE_OMP=ON
|
-DUSE_OMP=ON
|
||||||
#-DCOMP_PYTHON=OFF
|
-DCOMP_PYTHON=OFF
|
||||||
-DCOMP_PYTHON=ON
|
#-DCOMP_PYTHON=ON
|
||||||
#-DSTANDARD_PYTHON_INSTALL=OFF
|
#-DSTANDARD_PYTHON_INSTALL=OFF
|
||||||
#-DPython_FIND_VIRTUALENV=STANDARD
|
#-DPython_FIND_VIRTUALENV=STANDARD
|
||||||
#-DPython_FIND_STRATEGY=LOCATION
|
#-DPython_FIND_STRATEGY=LOCATION
|
||||||
|
@ -110,12 +111,17 @@ src_configure() {
|
||||||
)
|
)
|
||||||
#-DBUILD_SHARED_LIBS=OFF
|
#-DBUILD_SHARED_LIBS=OFF
|
||||||
tc-export CC
|
tc-export CC
|
||||||
python_foreach_impl cmake_src_configure
|
cmake_src_configure
|
||||||
python_foreach_impl python_optimize
|
#python_foreach_impl cmake_src_configure
|
||||||
|
#python_foreach_impl python_optimize
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
python_foreach_impl cmake_src_compile
|
#python_foreach_impl cmake_src_compile
|
||||||
|
cmake_src_compile
|
||||||
|
pushd src/python_scripts
|
||||||
|
distutils-r1_src_compile
|
||||||
|
popd
|
||||||
#cmake_src_compile
|
#cmake_src_compile
|
||||||
#cd ../afni-9999_build
|
#cd ../afni-9999_build
|
||||||
#default
|
#default
|
||||||
|
@ -125,13 +131,19 @@ src_compile() {
|
||||||
#/work/afni-9999/nifti_clib-65f801b9c2f1f15f4de4a19d45e6595c25765632
|
#/work/afni-9999/nifti_clib-65f801b9c2f1f15f4de4a19d45e6595c25765632
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
cd ../afni-9999_build
|
#python_foreach_impl cmake_src_install
|
||||||
DESTDIR=${D} eninja install
|
#python_foreach_impl python_optimize
|
||||||
|
cmake_src_install
|
||||||
|
pushd src/python_scripts
|
||||||
|
distutils-r1_src_install
|
||||||
|
popd
|
||||||
|
#cd ../afni-9999_build
|
||||||
|
#DESTDIR=${D} eninja install
|
||||||
# File collision, upstream confirmation here:
|
# File collision, upstream confirmation here:
|
||||||
# https://github.com/afni/afni/issues/558#issuecomment-1887693900
|
# https://github.com/afni/afni/issues/558#issuecomment-1887693900
|
||||||
cd ${D}
|
cd ${D}
|
||||||
pwd
|
#pwd
|
||||||
ls -lah
|
#ls -lah
|
||||||
#exit
|
#exit
|
||||||
rm usr/bin/mpeg_encode
|
rm usr/bin/mpeg_encode
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue