diff options
author | 이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 <sg5.lee@samsung.com> | 2019-08-21 20:53:38 -0400 |
---|---|---|
committer | 이춘석/On-Device Lab(SR)/Staff Engineer/삼성전자 <chunseok.lee@samsung.com> | 2019-08-22 09:53:38 +0900 |
commit | a0de89ad9856421e0fa04c9133cce6d5ffee9f66 (patch) | |
tree | 869c65066553c0831f4649baa13d57a6219a96bb /tools | |
parent | 832e0e1a548cbe335b9306ffdc28f58b33326f37 (diff) | |
download | nnfw-a0de89ad9856421e0fa04c9133cce6d5ffee9f66.tar.gz nnfw-a0de89ad9856421e0fa04c9133cce6d5ffee9f66.tar.bz2 nnfw-a0de89ad9856421e0fa04c9133cce6d5ffee9f66.zip |
[nnpkg_run] prepare hdf5 for arm (#6677)
- Install hdf5f and dependent libraries on arm rootfs
- Update CMakeLists.txt
- Create HDF5Config.cmake
- Update nnpackage_run's dump with dummy hdf5 creating code.
- To test whether hdf5 works.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/cross/build_rootfs.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/cross/build_rootfs.sh b/tools/cross/build_rootfs.sh index 3d0837bb6..3aa242bed 100755 --- a/tools/cross/build_rootfs.sh +++ b/tools/cross/build_rootfs.sh @@ -28,6 +28,7 @@ __UbuntuPackages="build-essential" # other development supports __UbuntuPackages+=" libboost-all-dev ocl-icd-opencl-dev" +__UbuntuPackages+=" libhdf5-dev" # symlinks fixer __UbuntuPackages+=" symlinks" @@ -116,6 +117,9 @@ if [[ -n $__LinuxCodeName ]]; then chroot $__RootfsDir apt-get update chroot $__RootfsDir apt-get -f -y install chroot $__RootfsDir apt-get -y install $__UbuntuPackages + machine=$(chroot $__RootfsDir gcc -dumpmachine) + chroot $__RootfsDir ln -s /usr/lib/${machine}/libhdf5_serial.a /usr/lib/${machine}/libhdf5.a + chroot $__RootfsDir ln -s /usr/lib/${machine}/libhdf5_serial.so /usr/lib/${machine}/libhdf5.so chroot $__RootfsDir symlinks -cr /usr if [ $__SkipUnmount == 0 ]; then |