From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Sun, 30 Mar 2014 12:09:47 +0200 Subject: [Buildroot] [PATCH v5 2/2] eigen: add an option to install unsupported modules In-Reply-To: <1395312348-5812-2-git-send-email-d.viti@infosolution.it> References: <1395312348-5812-1-git-send-email-d.viti@infosolution.it> <1395312348-5812-2-git-send-email-d.viti@infosolution.it> Message-ID: <20140330120947.1b6fbe26@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Davide Viti, On Thu, 20 Mar 2014 11:45:48 +0100, Davide Viti wrote: > Signed-off-by: Davide Viti However, I haven't applied this one. See below. > +ifeq ($(BR2_PACKAGE_EIGEN_UNSUPPORTED_MODULES),y) > +define EIGEN_INSTALL_UNSUPPORTED_MODULES_CMDS > + cp -a $(@D)/unsupported $(EIGEN_DEST_DIR) I believe this should be: mkdir -p $(EIGEN_DEST_DIR)/unsupported cp -a $(@D)/unsupported/Eigen $(EIGEN_DEST_DIR)/unsupport Otherwise, in /usr/include/eigen3/unsupported, I get a lot of tests beyond just the Eigen header files: I get the documentation and the tests, the README.txt, etc. I believe only the contents of the unsupported/Eigen/ directory is needed. thomas at skate:~/projets/buildroot/output/staging/usr/include/eigen3/unsupported (master)$ tree . ??? bench ??? ??? bench_svd.cpp ??? CMakeLists.txt ??? doc ??? ??? CMakeLists.txt ??? ??? eigendoxy_layout.xml.in ??? ??? examples ??? ??? ??? BVH_Example.cpp ??? ??? ??? CMakeLists.txt ??? ??? ??? FFT.cpp ??? ??? ??? MatrixExponential.cpp ??? ??? ??? MatrixFunction.cpp ??? ??? ??? MatrixLogarithm.cpp ??? ??? ??? MatrixPower.cpp ??? ??? ??? MatrixPower_optimal.cpp ??? ??? ??? MatrixSine.cpp ??? ??? ??? MatrixSinh.cpp ??? ??? ??? MatrixSquareRoot.cpp ??? ??? ??? PolynomialSolver1.cpp ??? ??? ??? PolynomialUtils1.cpp ??? ??? Overview.dox ??? ??? snippets ??? ??? CMakeLists.txt ??? Eigen ??? ??? AdolcForward ??? ??? AlignedVector3 ??? ??? ArpackSupport ??? ??? AutoDiff ??? ??? BVH ??? ??? CMakeLists.txt ??? ??? FFT ??? ??? IterativeSolvers ??? ??? KroneckerProduct ??? ??? LevenbergMarquardt ??? ??? MatrixFunctions ??? ??? MoreVectorization ??? ??? MPRealSupport ??? ??? NonLinearOptimization ??? ??? NumericalDiff ??? ??? OpenGLSupport ??? ??? Polynomials ??? ??? Skyline ??? ??? SparseExtra ??? ??? Splines ??? ??? src ??? ??? ??? AutoDiff ??? ??? ??? ??? AutoDiffJacobian.h ??? ??? ??? ??? AutoDiffScalar.h ??? ??? ??? ??? AutoDiffVector.h ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? BVH ??? ??? ??? ??? BVAlgorithms.h ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? KdBVH.h ??? ??? ??? CMakeLists.txt ??? ??? ??? Eigenvalues ??? ??? ??? ??? ArpackSelfAdjointEigenSolver.h ??? ??? ??? FFT ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? ei_fftw_impl.h ??? ??? ??? ??? ei_kissfft_impl.h ??? ??? ??? IterativeSolvers ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? ConstrainedConjGrad.h ??? ??? ??? ??? DGMRES.h ??? ??? ??? ??? GMRES.h ??? ??? ??? ??? IncompleteCholesky.h ??? ??? ??? ??? IncompleteLU.h ??? ??? ??? ??? IterationController.h ??? ??? ??? ??? MINRES.h ??? ??? ??? ??? Scaling.h ??? ??? ??? KroneckerProduct ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? KroneckerTensorProduct.h ??? ??? ??? LevenbergMarquardt ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? CopyrightMINPACK.txt ??? ??? ??? ??? LevenbergMarquardt.h ??? ??? ??? ??? LMcovar.h ??? ??? ??? ??? LMonestep.h ??? ??? ??? ??? LMpar.h ??? ??? ??? ??? LMqrsolv.h ??? ??? ??? MatrixFunctions ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? MatrixExponential.h ??? ??? ??? ??? MatrixFunctionAtomic.h ??? ??? ??? ??? MatrixFunction.h ??? ??? ??? ??? MatrixLogarithm.h ??? ??? ??? ??? MatrixPower.h ??? ??? ??? ??? MatrixSquareRoot.h ??? ??? ??? ??? StemFunction.h ??? ??? ??? MoreVectorization ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? MathFunctions.h ??? ??? ??? NonLinearOptimization ??? ??? ??? ??? chkder.h ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? covar.h ??? ??? ??? ??? dogleg.h ??? ??? ??? ??? fdjac1.h ??? ??? ??? ??? HybridNonLinearSolver.h ??? ??? ??? ??? LevenbergMarquardt.h ??? ??? ??? ??? lmpar.h ??? ??? ??? ??? qrsolv.h ??? ??? ??? ??? r1mpyq.h ??? ??? ??? ??? r1updt.h ??? ??? ??? ??? rwupdt.h ??? ??? ??? NumericalDiff ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? NumericalDiff.h ??? ??? ??? Polynomials ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? Companion.h ??? ??? ??? ??? PolynomialSolver.h ??? ??? ??? ??? PolynomialUtils.h ??? ??? ??? Skyline ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? SkylineInplaceLU.h ??? ??? ??? ??? SkylineMatrixBase.h ??? ??? ??? ??? SkylineMatrix.h ??? ??? ??? ??? SkylineProduct.h ??? ??? ??? ??? SkylineStorage.h ??? ??? ??? ??? SkylineUtil.h ??? ??? ??? SparseExtra ??? ??? ??? ??? BlockOfDynamicSparseMatrix.h ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? DynamicSparseMatrix.h ??? ??? ??? ??? MarketIO.h ??? ??? ??? ??? MatrixMarketIterator.h ??? ??? ??? ??? RandomSetter.h ??? ??? ??? Splines ??? ??? ??? ??? CMakeLists.txt ??? ??? ??? ??? SplineFitting.h ??? ??? ??? ??? SplineFwd.h ??? ??? ??? ??? Spline.h ??? ??? ??? SVD ??? ??? ??? BDCSVD.h ??? ??? ??? CMakeLists.txt ??? ??? ??? doneInBDCSVD.txt ??? ??? ??? JacobiSVD.h ??? ??? ??? SVDBase.h ??? ??? ??? TODOBdcsvd.txt ??? ??? SVD ??? README.txt ??? test ??? alignedvector3.cpp ??? autodiff.cpp ??? bdcsvd.cpp ??? BVH.cpp ??? CMakeLists.txt ??? dgmres.cpp ??? FFT.cpp ??? FFTW.cpp ??? forward_adolc.cpp ??? gmres.cpp ??? jacobisvd.cpp ??? kronecker_product.cpp ??? levenberg_marquardt.cpp ??? matrix_exponential.cpp ??? matrix_function.cpp ??? matrix_functions.h ??? matrix_power.cpp ??? matrix_square_root.cpp ??? minres.cpp ??? mpreal ??? ??? mpreal.h ??? mpreal_support.cpp ??? NonLinearOptimization.cpp ??? NumericalDiff.cpp ??? openglsupport.cpp ??? polynomialsolver.cpp ??? polynomialutils.cpp ??? sparse_extra.cpp ??? splines.cpp ??? svd_common.h Care to look into this and resend a new version of the patch? Thanks, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com