Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v5 2/2] eigen: add an option to install unsupported modules
Date: Sun, 30 Mar 2014 12:09:47 +0200	[thread overview]
Message-ID: <20140330120947.1b6fbe26@skate> (raw)
In-Reply-To: <1395312348-5812-2-git-send-email-d.viti@infosolution.it>

Dear Davide Viti,

On Thu, 20 Mar 2014 11:45:48 +0100, Davide Viti wrote:
> Signed-off-by: Davide Viti <d.viti@infosolution.it>

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

  reply	other threads:[~2014-03-30 10:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-20 10:45 [Buildroot] [PATCH v5 1/2] eigen: follow default installation scheme Davide Viti
2014-03-20 10:45 ` [Buildroot] [PATCH v5 2/2] eigen: add an option to install unsupported modules Davide Viti
2014-03-30 10:09   ` Thomas Petazzoni [this message]
2014-03-30 10:07 ` [Buildroot] [PATCH v5 1/2] eigen: follow default installation scheme Thomas Petazzoni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140330120947.1b6fbe26@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox