From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 04/24] clapack: new package
Date: Sun, 04 May 2014 09:10:41 +0200 [thread overview]
Message-ID: <87d2fukoi6.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1398208556-4195-5-git-send-email-s.martin49@gmail.com> (Samuel Martin's message of "Wed, 23 Apr 2014 01:15:36 +0200")
>>>>> "Samuel" == Samuel Martin <s.martin49@gmail.com> writes:
> This package provides BLAS and LAPACK libraries.
> Though it is common to find implementation of these two libraries in
> Fortran, this package provides a C-implementation for both, because:
> - Fortran support has been deprecated in Buildroot since the 2013.11
> release;
> - most of the external toolchains do not provide a Fortran compiler.
> Often BLAS build-systems build some test programs and run them to
> generate some source files or adjust some build optimizations, naively
> assuming they are building the library for the build-machine. This does
> not play well when cross-compiling.
> This implementation has this defect too, by building and running a tool
> generating a header.
> However, the build-system allows to pass an empty header.
> So, we have to patch the CMake to build the generator (but never
> install it) and correctly support building with and without this header
> provided by the user.
> Also, few CMake patches are needed to fix the build and install rules.
> Signed-off-by: Samuel Martin <s.martin49@gmail.com>
> +++ b/package/clapack/Config.in
> @@ -0,0 +1,18 @@
> +config BR2_PACKAGE_CLAPACK
> + bool "cblas/clapack"
> + help
> + BLAS and LAPACK C implementation (f2c'ed version of).
> +
> + http://www.netlib.org/clapack/
A testbuild shows it needs largefile (STAT_ST isn't defined for !LFS),
so I've added that.
> +++ b/package/clapack/clapack-0002-cmake-make-test-build-sensitive-to-BUILD_TESTING.patch
> @@ -0,0 +1,80 @@
> +From 834c221936d9c460b44e3a65b6fedfb3193f491b Mon Sep 17 00:00:00 2001
> +From: Samuel Martin <s.martin49@gmail.com>
> +Date: Sat, 11 Jan 2014 21:33:12 +0100
> +Subject: [PATCH 2/6] cmake: make test build sensitive to BUILD_TESTING
> +
> +This patch prevent from wasting time building the tests if it's our
> +wish.
> +
> +The test build takes a significant amount of time, and the binaries
> +not installed.
s/not/are not/.
I've done similar small changes to some of the other patch
descriptions. Have you sent them upstream? If so, have they been integrated?
> +++ b/package/clapack/clapack.mk
> @@ -0,0 +1,23 @@
> +################################################################################
> +#
> +# clapack
> +#
> +################################################################################
> +
> +CLAPACK_VERSION = 3.2.1
> +CLAPACK_SOURCE = clapack-$(CLAPACK_VERSION)-CMAKE.tgz
> +# This package provides 3 libraries:
> +# - libf2c.a (not installed)
> +# - libblas (statically linked with libf2c.a)
> +# - liblapack (statically linked with libf2c.a)
> +CLAPACK_LICENSE = HPND (libf2c), BSD-3c (libblas and liblapack)
> +CLAPACK_LICENSE_FILES = F2CLIBS/libf2c/Notice, COPYING
_LICENSE_FILES is a space seperated list, not comma seperated.
Committed with these fixes, thanks.
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2014-05-04 7:10 UTC|newest]
Thread overview: 57+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-22 23:15 [Buildroot] [PATCH v2 00/24] Scientific libraries Samuel Martin
2014-04-22 23:15 ` [Buildroot] [PATCH v2 01/24] qt: add an option to install the test module Samuel Martin
2014-05-03 16:58 ` Yann E. MORIN
2014-05-03 21:10 ` Peter Korsgaard
2014-04-22 23:15 ` [Buildroot] [PATCH v2 02/24] opencv: fix qt selection when highgui is enable Samuel Martin
2014-05-03 17:01 ` Yann E. MORIN
2014-05-03 21:11 ` Peter Korsgaard
2014-04-22 23:15 ` [Buildroot] [PATCH v2 03/24] armadillo: new package Samuel Martin
2014-05-03 17:08 ` Yann E. MORIN
2014-05-03 19:50 ` Samuel Martin
2014-05-04 21:18 ` Peter Korsgaard
2014-04-22 23:15 ` [Buildroot] [PATCH v2 04/24] clapack: " Samuel Martin
2014-05-03 17:23 ` Yann E. MORIN
2014-05-04 7:10 ` Peter Korsgaard [this message]
2014-04-22 23:15 ` [Buildroot] [PATCH v2 05/24] python-numpy: " Samuel Martin
2014-05-03 17:40 ` Yann E. MORIN
2014-07-16 20:30 ` Thomas Petazzoni
2014-04-22 23:15 ` [Buildroot] [PATCH v2 06/24] python-numpy: add optional blas/lapack support Samuel Martin
2014-05-03 20:05 ` Yann E. MORIN
2014-07-16 20:50 ` Thomas Petazzoni
2014-04-22 23:15 ` [Buildroot] [PATCH v2 07/24] opencv: bump to version 2.4.8 Samuel Martin
2014-05-03 21:28 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 08/24] opencv: add license details Samuel Martin
2014-05-03 21:31 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 09/24] opencv: sort and reorder CMake configuration flags Samuel Martin
2014-05-03 21:40 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 10/24] opencv: sort and reorder HW support options Samuel Martin
2014-05-03 22:15 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 11/24] opencv: sort and reorder SW " Samuel Martin
2014-05-03 22:19 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 12/24] opencv: add superres module knob Samuel Martin
2014-05-03 22:23 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 13/24] opencv: disable apps module Samuel Martin
2014-05-03 22:28 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 14/24] opencv: disable opencl support/module Samuel Martin
2014-05-03 22:34 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 15/24] opencv: disable OpenMP support Samuel Martin
2014-05-04 9:24 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 16/24] opencv: enable SSE4.1 SSE4.2 support when available Samuel Martin
2014-05-04 9:24 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 17/24] opencv: rework V4L/libv4l support Samuel Martin
2014-05-04 9:32 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 18/24] opencv: add jasper support Samuel Martin
2014-05-04 9:40 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 19/24] opencv: add Qt5 support Samuel Martin
2014-05-04 9:51 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 20/24] opencv: add python/numpy support Samuel Martin
2014-05-04 10:00 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 21/24] opencv: define modules inter-dependencies Samuel Martin
2014-05-04 10:04 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 22/24] opencv: add hidden symbol BR2_PACKAGE_OPENCV_USE_DEPRECATED_HEADERS Samuel Martin
2014-05-04 10:06 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 23/24] vlc: add opencv support Samuel Martin
2014-05-04 10:08 ` Yann E. MORIN
2014-04-22 23:15 ` [Buildroot] [PATCH v2 24/24] gst1-plugins-bad: rework opencv plugin dependencies Samuel Martin
2014-05-04 10:10 ` Yann E. MORIN
2014-07-16 21:03 ` [Buildroot] [PATCH v2 00/24] Scientific libraries 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=87d2fukoi6.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--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