diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2023-11-06 09:53:10 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-06 08:49:52 -0800 |
| commit | fc7666e5bc01ddcdc16d9d3b838be5c35d84fda2 (patch) | |
| tree | 6cf8414c550a0f2ac2a0d0101789f1523b129aa0 | |
| parent | 2d02f287e36961706613ecc67c509ad1177358b8 (diff) | |
| download | meta-openembedded-fc7666e5bc01ddcdc16d9d3b838be5c35d84fda2.tar.gz | |
hdf5: Fix install conflict when enable multilib.
Error: Transaction test error:
file /usr/bin/h5cc conflicts between attempted installs of lib32-hdf5-1.14.2-r0.armv7ahf_neon and hdf5-1.14.2-r0.cortexa57
file /usr/bin/h5hlcc conflicts between attempted installs of lib32-hdf5-1.14.2-r0.armv7ahf_neon and hdf5-1.14.2-r0.cortexa57
The differences of h5cc are as follows:
@@ -44,7 +44,7 @@
exit $status
;;
*)
- /usr/bin/arm-pokymllib32-linux-gnueabi/arm-pokymllib32-linux-gnueabi-clang $@ `pkg-config --define-variable=prefix=$dir --cflags --libs hdf5`
+ /usr/bin/aarch64-poky-linux/aarch64-poky-linux-clang $@ `pkg-config --define-variable=prefix=$dir --cflags --libs hdf5`
status=$?
exit $status
;;
The differences of h5hlcc are as follows:
@@ -44,7 +44,7 @@
exit $status
;;
*)
- /usr/bin/arm-pokymllib32-linux-gnueabi/arm-pokymllib32-linux-gnueabi-clang $@ `pkg-config --define-variable=prefix=$dir --cflags --libs hdf5_hl`
+ /usr/bin/aarch64-poky-linux/aarch64-poky-linux-clang $@ `pkg-config --define-variable=prefix=$dir --cflags --libs hdf5_hl`
status=$?
exit $status
;;
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb b/meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb index 68b91c0b0c..e716430673 100644 --- a/meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb +++ b/meta-oe/recipes-support/hdf5/hdf5_1.14.2.bb | |||
| @@ -7,7 +7,7 @@ SECTION = "libs" | |||
| 7 | LICENSE = "HDF5" | 7 | LICENSE = "HDF5" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=9ba0f3d878ab6c2403c86e9b0362d998" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=9ba0f3d878ab6c2403c86e9b0362d998" |
| 9 | 9 | ||
| 10 | inherit cmake siteinfo qemu multilib_header | 10 | inherit cmake siteinfo qemu multilib_header multilib_script |
| 11 | 11 | ||
| 12 | DEPENDS += "qemu-native zlib" | 12 | DEPENDS += "qemu-native zlib" |
| 13 | 13 | ||
| @@ -40,6 +40,10 @@ EOF | |||
| 40 | 40 | ||
| 41 | do_unpack[postfuncs] += "gen_emu" | 41 | do_unpack[postfuncs] += "gen_emu" |
| 42 | 42 | ||
| 43 | MULTILIB_SCRIPTS += "${PN}:${bindir}/h5cc \ | ||
| 44 | ${PN}:${bindir}/h5hlcc \ | ||
| 45 | " | ||
| 46 | |||
| 43 | do_install:append() { | 47 | do_install:append() { |
| 44 | # Used for generating config files on target | 48 | # Used for generating config files on target |
| 45 | install -m 755 ${B}/bin/H5detect ${D}${bindir} | 49 | install -m 755 ${B}/bin/H5detect ${D}${bindir} |
