Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

addpatch: electron34 34.0.0-3 #4477

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Conversation

kxxt
Copy link
Contributor

@kxxt kxxt commented Jan 23, 2025

Changes at riscv-forks/electron: riscv-forks/electron@6f56547

  • Fix rotten patches
  • Regenerate ffmpeg patch
  • Pick V8 build fix patch
  • ffmpeg: enable relocate for ff_h264_weight_funcs_8_rvv
  • Add patch that adds riscv64 to Study::CpuArchitecture in chromium variations

Packaging changes compared to electron33:

  • Replace rollup wasm module with native rollup at more places to workaround more issues as mentioned in addpatch: electron33 33.0.0-1 #4252
  • Disable the download of PGO profile and thus PGO beause it is hard to patch gsutil which is downloaded on the fly and a py3.8 vpython env is also created on the fly.

Changes at riscv-forks/electron: riscv-forks/electron@6f56547

- Fix rotten patches
- Regenerate ffmpeg patch
- Pick V8 build fix patch
- ffmpeg: enable relocate for ff_h264_weight_funcs_8_rvv
- Add patch that adds riscv64 to `Study::CpuArchitecture` in chromium
  variations

Packaging changes compared to electron33:

- Replace rollup wasm module with native rollup at more places to
  workaround more issues as mentioned in felixonmars#4252
- Disable the download of PGO profile and thus PGO beause it is hard to
  patch gsutil which is downloaded on the fly and a py3.8 vpython env is
  also created on the fly.
@felixonmars felixonmars merged commit df7a746 into felixonmars:master Jan 23, 2025
1 check failed
wszqkzqk added a commit to lcpu-club/loongarch-packages that referenced this pull request Jan 25, 2025
* Modify and apply Chen Jiajie's [Chromium
patch](https://github.com/AOSC-Dev/chromium-loongarch64/blob/44f5819e19be06ede4d24550ebbd33384f777145/chromium/chromium-132.0.6834.83.diff)
* Wipe pathes for AOSC-specific path and compiling configs
* Add loong64 support in `depot_tools`
* Apply this patch in advance since archlinux's
`makepkg-source-roller.py` needs it
* Use esbuild binary from npm to replace chromium's
src/third_party/devtools-frontend/src/third_party/esbuild
  * Google's fork doesn't support loong64
* Modify Arch Linux's llvm path patch to support loong64
* Add loong64 support in `electron_runtime_api_delegate.cc`
* Add loong64 support in `extensions/common/api/runtime.json`
* Disable to fetch the PGO file since loong64's PGO file is not provided
* Use a solution similar to [archriscv's electron34
fix](felixonmars/archriscv-packages#4477) to
workaround issues about `RuntimeError: unreachable`
  * Replace rollup wasm module with native rollup at more places
  * Update rollup to 4.32.0 that has loong64 support

---------

Signed-off-by: Zhou Qiankang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants