mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 17:59:59 +00:00
5bb0b48228
backport of commit:
d799db35d lapack: add packageconfig for lapacke
Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
28 lines
924 B
BlitzBasic
28 lines
924 B
BlitzBasic
SUMMARY = "Linear Algebra PACKage"
|
|
URL = "http://www.netlib.org/lapack"
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=39902829ba0c2cbac1b0debfb75a416b"
|
|
|
|
# Recipe needs FORTRAN support (copied from conf/local.conf.sample.extended)
|
|
# Enabling FORTRAN
|
|
# Note this is not officially supported and is just illustrated here to
|
|
# show an example of how it can be done
|
|
# You'll also need your fortran recipe to depend on libgfortran
|
|
#FORTRAN:forcevariable = ",fortran"
|
|
#RUNTIMETARGET:append:pn-gcc-runtime = " libquadmath"
|
|
|
|
DEPENDS = "libgfortran"
|
|
|
|
SRCREV = "aa631b4b4bd13f6ae2dbab9ae9da209e1e05b0fc"
|
|
SRC_URI = "git://github.com/Reference-LAPACK/lapack.git;protocol=https;branch=master"
|
|
S = "${WORKDIR}/git"
|
|
|
|
PACKAGECONFIG ?= ""
|
|
PACKAGECONFIG[lapacke] = "-DLAPACKE=ON,-DLAPACKE=OFF"
|
|
|
|
EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=ON "
|
|
OECMAKE_GENERATOR = "Unix Makefiles"
|
|
|
|
inherit cmake pkgconfig
|
|
EXCLUDE_FROM_WORLD = "1"
|