Summary: | [Flatpak SDK] Enable LLVM extension | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Philippe Normand <pnormand> | ||||||
Component: | Tools / Tests | Assignee: | Philippe Normand <pnormand> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | aperez, webkit-bug-importer | ||||||
Priority: | P2 | Keywords: | InRadar | ||||||
Version: | WebKit Nightly Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Philippe Normand
2021-03-29 10:15:20 PDT
Created attachment 424630 [details]
Patch
Comment on attachment 424630 [details] Patch Patch LGTM with a couple of small nits :) View in context: https://bugs.webkit.org/attachment.cgi?id=424630&action=review > Tools/flatpak/flatpakutils.py:736 > + building = os.path.basename(args[0]).startswith("build") This check looks a bit brittle, but other than using βin ("build-webkit", "build-jsc")β to check for a well-known list of possible build scripts, I don't really have a better idea π€οΈ > Tools/flatpak/flatpakutils.py:988 > + clang_archive, clang_toolchaines = self.pack_toolchain(("clang", "clang++"), {"/usr/bin/clang++": "clang++", Typo in variable name: clanf_toolchaines β clang_toolchains Comment on attachment 424630 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=424630&action=review >> Tools/flatpak/flatpakutils.py:736 >> + building = os.path.basename(args[0]).startswith("build") > > This check looks a bit brittle, but other than using βin ("build-webkit", "build-jsc")β to > check for a well-known list of possible build scripts, I don't really have a better idea π€οΈ There's a is_build_webkit() method already. I could add one for is_build_jsc() as well and then here `building = self.is_build_webkit() or self.is_build_jsc()` wdyt? (In reply to Philippe Normand from comment #3) > Comment on attachment 424630 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=424630&action=review > > >> Tools/flatpak/flatpakutils.py:736 > >> + building = os.path.basename(args[0]).startswith("build") > > > > This check looks a bit brittle, but other than using βin ("build-webkit", "build-jsc")β to > > check for a well-known list of possible build scripts, I don't really have a better idea π€οΈ > > There's a is_build_webkit() method already. I could add one for > is_build_jsc() as well and then here `building = self.is_build_webkit() or > self.is_build_jsc()` wdyt? This sounds perfect ποΈ Created attachment 425363 [details]
Patch
Committed r275595: <https://commits.webkit.org/r275595> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425363 [details]. |