Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

Changes between Version 10 and Version 11 of Projects/CLANG


Ignore:
Timestamp:
07/30/19 19:32:07 (5 years ago)
Author:
Gedare Bloom
Comment:

Add cmake instructions due to obsoleted configure in llvm.

Legend:

Unmodified
Added
Removed
Modified
  • Projects/CLANG

    v10 v11  
    5151
    5252For now, you need the regular RTEMS toolchain installed.  We are using the normal RTEMS binutils and gdb.  In addition, the way I have been building requires using the CPU-rtems4.11-gcc as a helper wrapper.
     53
    5354= Building Clang =
    5455
     
    6667
    6768After this completed, I ensured that my PATH included /opt/rtems-4.11/bin and /users/joel/llvm/install/bin for subsequent builds.
     69
     70'UPDATE': ''configure'' is no longer supported. cmake is used instead. Try the following command instead of the configure line above:
     71{{{
     72cmake -DCMAKE_INSTALL_PREFIX=/users/joel/llvm/install -DLLVM_ENABLE_PROJECTS=clang -G "Unix Makefiles" ../llvm
     73}}}
     74And then you can `make && make install`. (You should also pass -j option to make for a faster build.)
     75
    6876= Building Newlib With Clang =
    6977