mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 03:55:24 +00:00
LibJSGCVerifier: Use more general shebang line and clarify instructions
My system's python3 is not in /bin/. The README did not indicate that a clang-toolchain build of Serenity is required, so this patch adds that explicit instruction.
This commit is contained in:
parent
0104c8d052
commit
b54786ee95
Notes:
sideshowbarker
2024-07-17 06:39:26 +09:00
Author: https://github.com/trflynn89 Commit: https://github.com/SerenityOS/serenity/commit/b54786ee95 Pull-request: https://github.com/SerenityOS/serenity/pull/22094 Reviewed-by: https://github.com/AtkinsSJ ✅
2 changed files with 11 additions and 2 deletions
|
@ -7,9 +7,18 @@ two things:
|
|||
- For all types not wrapped by `GCPtr` or `NonnullGCPtr`, that the wrapped type does not inherit from `Cell`
|
||||
(otherwise it should be wrapped).
|
||||
|
||||
Usage:
|
||||
This tool currently requires having first built Serenity with the Clang toolchain for x86_64:
|
||||
```bash
|
||||
./Meta/serenity.sh build x86_64 Clang
|
||||
```
|
||||
|
||||
Once Serenity is built, this tool can be built with:
|
||||
```bash
|
||||
cmake -GNinja -B build
|
||||
cmake --build build
|
||||
```
|
||||
|
||||
Then run the tool with:
|
||||
```bash
|
||||
src/main.py -b <path to serenity>/Build
|
||||
```
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/python3
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import argparse
|
||||
import multiprocessing
|
||||
|
|
Loading…
Add table
Reference in a new issue