Mismatch of patch filename
Laur59 opened this issue · comments
I tried to build the toolchain following instruction and got an error at patching phase.
Looking at CMakeLists.txt one can see:
${CMAKE_CURRENT_SOURCE_DIR}/patches/llvm-project/0001-Fix-llvm-test-CodeGen-ARM-build-attributes.ll-test.patch
${CMAKE_CURRENT_SOURCE_DIR}/patches/llvm-project/0002-Add-check-for-building-with-picolibc.patch
${CMAKE_CURRENT_SOURCE_DIR}/patches/llvm-project/0003-Run-picolibc-tests-with-qemu.patch
${CMAKE_CURRENT_SOURCE_DIR}/patches/llvm-project/0004-xfail-two-remaining-libcxx-with-picolibc-tests.patch
${CMAKE_CURRENT_SOURCE_DIR}/patches/llvm-project/0005-disable-large-tests.patch
${CMAKE_CURRENT_SOURCE_DIR}/patches/llvm-project/0006-Disable-failing-compiler-rt-test.patch)
But the patches/llvm-project contains:
0001-Add-ExclusiveGroup-feature-to-multilib.yam.patch
0002-Add-check-for-building-with-picolibc.patch
0003-Run-picolibc-tests-with-qemu.patch
0004-xfail-two-remaining-libcxx-with-picolibc-tests.patch
0005-disable-large-tests.patch
0006-Disable-failing-compiler-rt-test.patch
I do not know if CMakeLists.txt should be modified or if the correct patch file is missing. NOTE: by modifying CMakeLists.txt I could build the toolchain.