Changeset 196241 in webkit


Ignore:
Timestamp:
Feb 7, 2016 11:25:31 AM (8 years ago)
Author:
commit-queue@webkit.org
Message:

[cmake] Move LLVM detection for LLVMDisassembler to OptionsCommon.cmake
https://bugs.webkit.org/show_bug.cgi?id=153961

Patch by Konstantin Tokarev <Konstantin Tokarev> on 2016-02-07
Reviewed by Michael Catanzaro.

  • Source/cmake/OptionsCommon.cmake:
  • Source/cmake/OptionsEfl.cmake:
  • Source/cmake/OptionsGTK.cmake:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r196113 r196241  
     12016-02-07  Konstantin Tokarev  <annulen@yandex.ru>
     2
     3        [cmake] Move LLVM detection for LLVMDisassembler to OptionsCommon.cmake
     4        https://bugs.webkit.org/show_bug.cgi?id=153961
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        * Source/cmake/OptionsCommon.cmake:
     9        * Source/cmake/OptionsEfl.cmake:
     10        * Source/cmake/OptionsGTK.cmake:
     11
    1122016-02-04  Csaba Osztrogonác  <ossy@webkit.org>
    213
  • trunk/Source/cmake/OptionsCommon.cmake

    r195891 r196241  
    125125endif ()
    126126
     127if (USE_LLVM_DISASSEMBLER)
     128    find_package(LLVM REQUIRED)
     129    SET_AND_EXPOSE_TO_BUILD(HAVE_LLVM TRUE)
     130endif ()
     131
    127132# Enable the usage of OpenMP.
    128133#  - At this moment, OpenMP is only used as an alternative implementation
  • trunk/Source/cmake/OptionsEfl.cmake

    r196113 r196241  
    283283endif ()
    284284
    285 if (USE_LLVM_DISASSEMBLER)
    286     find_package(LLVM REQUIRED)
    287     SET_AND_EXPOSE_TO_BUILD(HAVE_LLVM TRUE)
    288 endif ()
    289 
    290285if (ENABLE_FTL_JIT AND NOT WTF_CPU_X86_64 AND NOT DEVELOPER_MODE)
    291286    message(FATAL_ERROR "FTL JIT is only available on X86_64 architecture.")
  • trunk/Source/cmake/OptionsGTK.cmake

    r196113 r196241  
    235235endif ()
    236236
    237 if (USE_LLVM_DISASSEMBLER)
    238     if (WTF_CPU_X86_64)
    239         find_package(LLVM 3.7)
    240         if (NOT LLVM_FOUND)
    241             message(FATAL_ERROR "LLVM 3.7 is required for USE_LLVM_DISASSEMBLER")
    242         endif ()
    243         SET_AND_EXPOSE_TO_BUILD(HAVE_LLVM TRUE)
    244     else ()
    245         message(FATAL_ERROR "FTL is only supported for X86_64")
    246     endif ()
    247 endif ()
    248 
    249237if (ENABLE_GAMEPAD_DEPRECATED)
    250238    find_package(GUdev)
Note: See TracChangeset for help on using the changeset viewer.