From 1067a314ca131e46e9739df2243f0ebde16c2233 Mon Sep 17 00:00:00 2001 From: Justin Carpentier Date: Wed, 21 Aug 2024 14:37:50 +0200 Subject: [PATCH] recipe: remove useless lines --- recipe/build.sh | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/recipe/build.sh b/recipe/build.sh index 17b75e4..7625532 100644 --- a/recipe/build.sh +++ b/recipe/build.sh @@ -3,19 +3,6 @@ mkdir build cd build -export BUILD_NUMPY_INCLUDE_DIRS=$( $PYTHON -c "import numpy; print (numpy.get_include())") -export TARGET_NUMPY_INCLUDE_DIRS=$SP_DIR/numpy/core/include - -echo $BUILD_NUMPY_INCLUDE_DIRS -echo $TARGET_NUMPY_INCLUDE_DIRS - -if [[ $CONDA_BUILD_CROSS_COMPILATION == 1 ]]; then - echo "Copying files from $BUILD_NUMPY_INCLUDE_DIRS to $TARGET_NUMPY_INCLUDE_DIRS" - mkdir -p $TARGET_NUMPY_INCLUDE_DIRS - cp -r $BUILD_NUMPY_INCLUDE_DIRS/numpy $TARGET_NUMPY_INCLUDE_DIRS - export GENERATE_PYTHON_STUBS=0 -fi - cmake .. \ ${CMAKE_ARGS} \ -DCMAKE_BUILD_TYPE=Release \ @@ -25,10 +12,3 @@ cmake .. \ make -j${CPU_COUNT} make install - -if [[ $CONDA_BUILD_CROSS_COMPILATION == 1 ]]; then - echo $BUILD_PREFIX - echo $PREFIX - sed -i.back 's|'"$BUILD_PREFIX"'|'"$PREFIX"'|g' $PREFIX/lib/cmake/pinocchio/pinocchioTargets.cmake - rm $PREFIX/lib/cmake/pinocchio/pinocchioTargets.cmake.back -fi