RESOLVED FIXED 184224
[CMake] gperf path should be given when WebCore/css/makevalues.pl is executed
https://bugs.webkit.org/show_bug.cgi?id=184224
Summary [CMake] gperf path should be given when WebCore/css/makevalues.pl is executed
Yousuke Kimoto
Reported 2018-04-01 00:05:36 PDT
WebCore/css/makevalues.pl uses gperf to generate derived sources but it expects gperf should be found in "Path", an environment value. When a path to gperf is required to be specified with a concrete path depending building environments, the generating process fails. To solve this issue, a full path for "gperf" should be given to the CMake rule, like a CMake rule for WebCore/css/makeprop.pl
Attachments
Patch (3.03 KB, patch)
2018-04-01 18:41 PDT, Yousuke Kimoto
no flags
Patch (3.05 KB, patch)
2018-04-03 06:38 PDT, Yousuke Kimoto
no flags
Yousuke Kimoto
Comment 1 2018-04-01 18:41:55 PDT
Konstantin Tokarev
Comment 2 2018-04-02 11:07:21 PDT
Comment on attachment 336968 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=336968&action=review > Source/WebCore/css/makevalues.pl:34 > +my $customGperf; You can reduce complexity here my $gperf = $ENV{GPERF} ? $ENV{GPERF} : "gperf"; > Source/WebCore/css/makevalues.pl:37 > + 'gperf-executable=s' => \$customGperf); 'gperf-executable=s' => \$gperf > Source/WebCore/css/makevalues.pl:177 > +my $gperf = $ENV{GPERF} ? $ENV{GPERF} : ($customGperf ? $customGperf : "gperf"); ... and remove this line
Yousuke Kimoto
Comment 3 2018-04-03 06:37:55 PDT
Thank you for your review. (In reply to Konstantin Tokarev from comment #2) > Comment on attachment 336968 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=336968&action=review > > > Source/WebCore/css/makevalues.pl:34 > > +my $customGperf; > > You can reduce complexity here > > my $gperf = $ENV{GPERF} ? $ENV{GPERF} : "gperf"; > > > Source/WebCore/css/makevalues.pl:37 > > + 'gperf-executable=s' => \$customGperf); > > 'gperf-executable=s' => \$gperf I'll follow your comment. > > Source/WebCore/css/makevalues.pl:177 > > +my $gperf = $ENV{GPERF} ? $ENV{GPERF} : ($customGperf ? $customGperf : "gperf"); > > ... and remove this line Also, I'll do it.
Yousuke Kimoto
Comment 4 2018-04-03 06:38:20 PDT
WebKit Commit Bot
Comment 5 2018-04-03 11:14:48 PDT
Comment on attachment 337075 [details] Patch Clearing flags on attachment: 337075 Committed r230212: <https://trac.webkit.org/changeset/230212>
WebKit Commit Bot
Comment 6 2018-04-03 11:14:49 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 7 2018-04-03 11:15:24 PDT
Note You need to log in before you can comment on or make changes to this bug.