Open
Description
In AOSC OS we use make install DESTDIR="$SRCDIR"/fakeroot
to install files when packaging.
However, since LLVM 20.x we have been getting files installed at wrong location:
xtex@xtex1 ~ (main)> find /var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64 -maxdepth 2 -type d
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/lib
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/share
/var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/share/libc++
xtex@xtex1 ~ (main)> find /var/cache/acbs/build/acbs.p8hoyk2z/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64 | count
2335
Install the project...
/usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
-- Installing: /var/cache/acbs/build/acbs.8u3o12ws/llvm-project-20.1.2.src/llvm/fakeroot/var/cache/acbs/build/acbs.8u3o12ws/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/__cxxabi_config.h
-- Installing: /var/cache/acbs/build/acbs.8u3o12ws/llvm-project-20.1.2.src/llvm/fakeroot/var/cache/acbs/build/acbs.8u3o12ws/llvm-project-20.1.2.src/llvm/build/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/include/c++/v1/cxxabi.h
Related commits:
- 5082acc ([compiler-rt] Add custom libc++ workaround for CMake < 3.26, 2024-11-10)
- e7bad34 ([compiler-rt] Use installed libc++(abi) for tests instead of build tree, 2024-11-06)
These files are not installed in LLVM 18/19.
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
No branches or pull requests
Activity
[-]libcxx-fuzzer is installed at wrong location[/-][+][compiler-rt] libcxx-fuzzer is installed at wrong location[/+]Revert "[compiler-rt] Add custom libc++ workaround for CMake < 3.26"
[compiler-rt] Disable installing of custom libcxx
[compiler-rt] Disable installing of custom libcxx