[webkit-changes] [WebKit/WebKit] 546b71: postprocess-asm rule doesn't respect RUBY_EXECUTABLE

Sam James noreply at github.com
Fri Apr 7 11:27:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 546b7119c8b72893b33e5800dcc658a1c5cac9ea
      https://github.com/WebKit/WebKit/commit/546b7119c8b72893b33e5800dcc658a1c5cac9ea
  Author: Sam James <sam at gentoo.org>
  Date:   2023-04-07 (Fri, 07 Apr 2023)

  Changed paths:
    M Source/JavaScriptCore/CMakeLists.txt

  Log Message:
  -----------
  postprocess-asm rule doesn't respect RUBY_EXECUTABLE
https://bugs.webkit.org/show_bug.cgi?id=254965

Reviewed by Yusuke Suzuki.

postprocess-asm is a Ruby script with #/!/usr/bin/env ruby as its shebang which
looks up Ruby in PATH. webkit, however, has RUBY_EXECUTABLE as a CMake option.
It's possible for the Ruby used by CMake (and the other rules during the build)
to be different to the first Ruby found in PATH. This makes the usage for postprocess-asm
consistent with other uses in webkit.

* Source/JavaScriptCore/CMakeLists.txt

Canonical link: https://commits.webkit.org/262719@main




More information about the webkit-changes mailing list