1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +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:
Timothy Flynn 2023-11-29 15:35:16 -05:00 committed by Sam Atkins
parent 0104c8d052
commit b54786ee95
2 changed files with 11 additions and 2 deletions

View file

@ -7,9 +7,18 @@ two things:
- For all types not wrapped by `GCPtr` or `NonnullGCPtr`, that the wrapped type does not inherit from `Cell` - For all types not wrapped by `GCPtr` or `NonnullGCPtr`, that the wrapped type does not inherit from `Cell`
(otherwise it should be wrapped). (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 -GNinja -B build
cmake --build build cmake --build build
```
Then run the tool with:
```bash
src/main.py -b <path to serenity>/Build src/main.py -b <path to serenity>/Build
``` ```

View file

@ -1,4 +1,4 @@
#!/bin/python3 #!/usr/bin/env python3
import argparse import argparse
import multiprocessing import multiprocessing