| Summary: | [CMake] Error out when ruby is too old | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> | ||||
| Component: | Tools / Tests | Assignee: | Michael Catanzaro <mcatanzaro> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | berto, commit-queue, fpizlo, mcatanzaro, mrobinson | ||||
| Priority: | P2 | ||||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| See Also: | https://bugzilla.redhat.com/show_bug.cgi?id=1221810 | ||||||
| Attachments: |
|
||||||
|
Description
Michael Catanzaro
2015-05-14 12:09:25 PDT
Any ideas why this isn't currently marked as REQUIRED? It looks like it might have been omitted intentionally, but it's definitely mandatory to build JSC. Answer:
# We cannot check for RUBY_FOUND because it is set only when the full package is installed and
# the only thing we need is the interpreter. Unlike Python, cmake does not provide a macro
# for finding the only Ruby interpreter.
if (NOT RUBY_EXECUTABLE)
message(FATAL_ERROR "The Ruby interpreter is needed to generate LLInt files.")
endif ()
Created attachment 253146 [details]
Patch
Comment on attachment 253146 [details] Patch Clearing flags on attachment: 253146 Committed r184363: <http://trac.webkit.org/changeset/184363> All reviewed patches have been landed. Closing bug. |