diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-11-24 13:36:24 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2021-11-26 09:55:07 -0800 |
commit | 85fb0a622e0e9a7b2bb7e7035d66dab90e0432b4 (patch) | |
tree | b39ad2577d37d8203210ceada33ba860923ffe35 /classes/clang.bbclass | |
parent | 81dca6d47885a35ffe9c05827e83670d500b7535 (diff) | |
download | meta-clang-85fb0a622e0e9a7b2bb7e7035d66dab90e0432b4.tar.gz |
libcxx: Set CMAKE_BUILD_WITH_INSTALL_RPATH
cmake 3.22+ is causing install failures e.g.
| -- Install configuration: "Debug"
| -- Installing: /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so.1.0
| -- Installing: /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so.1
| -- Set runtime path of "/mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so.1.0" to ""
| -- Installing: /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so
| CMake Error at cmake_install.cmake:88 (file):
| file RPATH_CHANGE could not write new RPATH:
|
|
|
| to the file:
|
| /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/image/usr/lib/libc++.so
|
| Call Stack (most recent call first):
| /mnt/b/yoe/master/build/tmp/work/armv7at2hf-neon-yoe-linux-gnueabi/libcxx/13.0.1-r0/build/projects/libcxx/cmake_install.cmake:56 (include)
|
Apply a workaround by building install time rpaths directly during build time
too.
Real fix perhaps will be in cmake somewhere.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'classes/clang.bbclass')
0 files changed, 0 insertions, 0 deletions