summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2021-07-29 17:04:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-03 10:21:25 -0700
commitc61dc077bbd81260e4f167fa2251643ba0ba6974 (patch)
tree66c3243f8f64ae60f66f70a16e8128c247254a65 /meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
parentc5f7cfb8db54cfa4257797db5bd87828dea43296 (diff)
downloadmeta-openembedded-c61dc077bbd81260e4f167fa2251643ba0ba6974.tar.gz
Convert to new override syntax
This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb')
-rw-r--r--meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
index b92f63b265..b5820c1aa3 100644
--- a/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
+++ b/meta-oe/recipes-devtools/suitesparse/suitesparse_5.10.1.bb
@@ -12,20 +12,20 @@ S = "${WORKDIR}/git"
12DEPENDS = "cmake-native lapack gmp mpfr chrpath-native" 12DEPENDS = "cmake-native lapack gmp mpfr chrpath-native"
13 13
14PROVIDES = "mongoose graphblas" 14PROVIDES = "mongoose graphblas"
15RPROVIDES_${PN} = "mongoose graphblas" 15RPROVIDES:${PN} = "mongoose graphblas"
16 16
17# The values of $CC, $CXX, and $LD that Bitbake uses have spaces in them which 17# The values of $CC, $CXX, and $LD that Bitbake uses have spaces in them which
18# causes problems when the SuiteSparse Makefiles try to pass these values on 18# causes problems when the SuiteSparse Makefiles try to pass these values on
19# the command line. To get around this problem, set these variables to only the 19# the command line. To get around this problem, set these variables to only the
20# program name and prepend the rest of the value onto the corresponding FLAGS 20# program name and prepend the rest of the value onto the corresponding FLAGS
21# variable. 21# variable.
22CFLAGS_prepend := "${@" ".join(d.getVar('CC', True).split()[1:])} " 22CFLAGS:prepend := "${@" ".join(d.getVar('CC', True).split()[1:])} "
23export CC := "${@d.getVar('CC', True).split()[0]}" 23export CC := "${@d.getVar('CC', True).split()[0]}"
24 24
25CXXFLAGS_prepend := "${@" ".join(d.getVar('CXX', True).split()[1:])} " 25CXXFLAGS:prepend := "${@" ".join(d.getVar('CXX', True).split()[1:])} "
26export CXX := "${@d.getVar('CXX', True).split()[0]}" 26export CXX := "${@d.getVar('CXX', True).split()[0]}"
27 27
28LDFLAGS_prepend := "${@" ".join(d.getVar('LD', True).split()[1:])} " 28LDFLAGS:prepend := "${@" ".join(d.getVar('LD', True).split()[1:])} "
29export LD := "${@d.getVar('LD', True).split()[0]}" 29export LD := "${@d.getVar('LD', True).split()[0]}"
30 30
31export CMAKE_OPTIONS = " \ 31export CMAKE_OPTIONS = " \
@@ -48,7 +48,7 @@ do_install () {
48 done 48 done
49} 49}
50 50
51FILES_${PN} += " \ 51FILES:${PN} += " \
52 ${libdir}/libmongoose.so.* \ 52 ${libdir}/libmongoose.so.* \
53 ${libdir}/libgraphblas.so.* \ 53 ${libdir}/libgraphblas.so.* \
54 ${libdir}/libmetis.so.* \ 54 ${libdir}/libmetis.so.* \
@@ -69,7 +69,7 @@ FILES_${PN} += " \
69 ${bindir}/mongoose \ 69 ${bindir}/mongoose \
70" 70"
71 71
72FILES_${PN}-staticdev += "${libdir}/libmongoose.a" 72FILES:${PN}-staticdev += "${libdir}/libmongoose.a"
73FILES_${PN}-dev += "${includedir} ${libdir}/*.so" 73FILES:${PN}-dev += "${includedir} ${libdir}/*.so"
74 74
75EXCLUDE_FROM_WORLD = "1" 75EXCLUDE_FROM_WORLD = "1"