rtems-source-builder: I cannot build 5/rtems-llvm

Павел Трошин troshinp at mail.ru
Thu Jan 23 11:45:43 UTC 2020


Hello,
 
I want to build 5/rtems-llvm and run
../source-builder/sb-set-builder 5/rtems-llvm --prefix=/opt/rtems-llvm/5 --bset-tar-file --pkg-tar-files --no-install
 
But have error:
 
CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.10/Modules/FindSWIG.cmake:63 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  tools/lldb/scripts/CMakeLists.txt:18 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/pavelt/rtems-source-builder/rtems/build/rtems-llvm-8.0.1-x86_64-linux-gnu-1/build/CMakeFiles/CMakeOutput.log".
See also "/home/pavelt/rtems-source-builder/rtems/build/rtems-llvm-8.0.1-x86_64-linux-gnu-1/build/CMakeFiles/CMakeError.log".
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
error: building rtems-llvm-8.0.1-x86_64-linux-gnu-1
 
How I’ve understood swig was installed to /home/pavelt/rtems-source-builder/rtems/build/tmp/sb-1000/devel/swig but then
swig was cleaned:
 
==> %clean:
cleaning: swig-4.0.1-x86_64-linux-gnu-1
removing: /home/pavelt/rtems-source-builder/rtems/build/tmp/swig-4.0.1-x86_64-linux-gnu-1-1000
removing: /home/pavelt/rtems-source-builder/rtems/build/swig-4.0.1-x86_64-linux-gnu-1
removing: /home/pavelt/rtems-source-builder/rtems/build/tmp/sb-1000/devel/swig
 
and on next step llvm cannot find swig
 
And next question. Can I build RTEMS with rtems-llvm toolchain?
--
Troshin Pavel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20200123/77604ca4/attachment.html>


More information about the users mailing list