Re[2]: rtems-source-builder: I cannot build 5/rtems-llvm

Павел Трошин troshinp at mail.ru
Tue Jan 28 21:35:13 UTC 2020


I am using Linux Ubuntu 18.04 and I tried to use macOS
 
But if I use the option --no-clean or if I change swig_prefix from %{_tmproot}/swig to {_tmppath}/swig, I can build rtems-llvm.  
>Вторник, 28 января 2020, 1:31 +03:00 от Chris Johns <chrisj at rtems.org>:
> 
>Hi,
>
>On 23/1/20 10:45 pm, Павел Трошин wrote:
>> 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
>
>What host are you using?
>
>Is the RSB building SWIG for you host?
>
>> And next question. Can I build RTEMS with rtems-llvm toolchain?
>
>You should be able to. RTEMS currently has no support for llvm in master.
>
>Chris 
 
 
--
Павел Трошин
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20200129/f3c61c56/attachment.html>


More information about the users mailing list