WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 223882
[Flatpak SDK] Enable LLVM extension
https://bugs.webkit.org/show_bug.cgi?id=223882
Summary
[Flatpak SDK] Enable LLVM extension
Philippe Normand
Reported
2021-03-29 10:15:20 PDT
The clang shipped by default in the FDO SDK is not usable for ASan, UBSan (and I guess TSan) builds, but the Flatpak extension shipping LLVM11 allows this.
Attachments
Patch
(12.11 KB, patch)
2021-03-30 05:27 PDT
,
Philippe Normand
no flags
Details
Formatted Diff
Diff
Patch
(12.64 KB, patch)
2021-04-07 01:20 PDT
,
Philippe Normand
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Philippe Normand
Comment 1
2021-03-30 05:27:27 PDT
Created
attachment 424630
[details]
Patch
Adrian Perez
Comment 2
2021-04-05 03:32:17 PDT
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
Philippe Normand
Comment 3
2021-04-06 10:29:49 PDT
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?
Adrian Perez
Comment 4
2021-04-06 14:23:24 PDT
(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 👍️
Philippe Normand
Comment 5
2021-04-07 01:20:20 PDT
Created
attachment 425363
[details]
Patch
EWS
Comment 6
2021-04-07 02:03:18 PDT
Committed
r275595
: <
https://commits.webkit.org/r275595
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 425363
[details]
.
Radar WebKit Bug Importer
Comment 7
2021-04-07 02:04:34 PDT
<
rdar://problem/76326393
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug