<HTML><BODY><div>
<div>Hello,</div>
<div> </div>
<div>I want to build 5/rtems-llvm and run</div>
<div>../source-builder/sb-set-builder 5/rtems-llvm --prefix=/opt/rtems-llvm/5 --bset-tar-file --pkg-tar-files --no-install</div>
<div> </div>
<div>But have error:</div>
<div> </div>
<div>
<div>CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):<br>
Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)<br>
Call Stack (most recent call first):<br>
/usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)<br>
/usr/share/cmake-3.10/Modules/FindSWIG.cmake:63 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)<br>
tools/lldb/scripts/CMakeLists.txt:18 (find_package)</div>
<div><br>
-- Configuring incomplete, errors occurred!<br>
See also "/home/pavelt/rtems-source-builder/rtems/build/rtems-llvm-8.0.1-x86_64-linux-gnu-1/build/CMakeFiles/CMakeOutput.log".<br>
See also "/home/pavelt/rtems-source-builder/rtems/build/rtems-llvm-8.0.1-x86_64-linux-gnu-1/build/CMakeFiles/CMakeError.log".<br>
shell cmd failed: /bin/sh -ex /home/pavelt/rtems-source-builder/rtems/build/rtems-llvm-8.0.1-x86_64-linux-gnu-1/do-build<br>
error: building rtems-llvm-8.0.1-x86_64-linux-gnu-1</div>
</div>
<div> </div>
<div>How I’ve understood swig was installed to /home/pavelt/rtems-source-builder/rtems/build/tmp/sb-1000/devel/swig but then</div>
<div>swig was cleaned:</div>
<div> </div>
<div>==> %clean:<br>
cleaning: swig-4.0.1-x86_64-linux-gnu-1<br>
removing: /home/pavelt/rtems-source-builder/rtems/build/tmp/swig-4.0.1-x86_64-linux-gnu-1-1000<br>
removing: /home/pavelt/rtems-source-builder/rtems/build/swig-4.0.1-x86_64-linux-gnu-1<br>
removing: /home/pavelt/rtems-source-builder/rtems/build/tmp/sb-1000/devel/swig</div>
<div> </div>
<div>and on next step llvm cannot find swig</div>
<div> </div>
<div>And next question. Can I build RTEMS with rtems-llvm toolchain?</div>
<div>--<br>
Troshin Pavel</div>
</div>
</BODY></HTML>