mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
update //other readmes and add SSE4 stuff
This commit is contained in:
parent
f323ba19ca
commit
60e5f1c19c
7 changed files with 115 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
# Thorium AVX2
|
||||
|
||||
This directory contains build config files for compiling Thorium/Chromium with [AVX2](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2)
|
||||
This directory contains build config files for compiling Thorium/Chromium with [AVX2](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#Advanced_Vector_Extensions_2).
|
||||
|
||||
<img src="https://raw.githubusercontent.com/Alex313031/thorium/main/logos/STAGING/AVX2.png" width="86">
|
||||
|
||||
|
|
7
other/CrOS/README.md
Normal file
7
other/CrOS/README.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
# Thorium for ThoriumOS
|
||||
|
||||
This directory contains build config files for compiling Thorium for [ThoriumOS](https://github.com/Alex313031/ThoriumOS) (a fork of [ChromiumOS](https://www.chromium.org/chromium-os/)).
|
||||
|
||||
### CrOS
|
||||
|
||||
<img src="https://github.com/Alex313031/ThoriumOS/blob/main/images/ChromiumBook_Black.png" width="100">
|
|
@ -1,4 +1,4 @@
|
|||
# Thorium AVX2
|
||||
# Thorium for Mac
|
||||
|
||||
This directory contains build config files for compiling Thorium/Chromium for MacOS.
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
# Thorium SSE2
|
||||
|
||||
This directory contains build config files for compiling 32 bit Thorium/Chromium with [SSE2](https://en.wikipedia.org/wiki/SSE2)
|
||||
This directory contains build config files for compiling 32 bit Thorium/Chromium with [SSE2](https://en.wikipedia.org/wiki/SSE2).
|
||||
|
||||
Chromium doesn't officially support 32 bit linux anymore, and "requires" SSE3. With some workarounds though, it can be made to work.
|
||||
Chromium doesn't officially support 32 bit Linux anymore, and "requires" SSE3. With some workarounds though, it can be made to work.
|
||||
Using the `-msse2` compiler flag is not enough, one must also add the `-mmmx` and `-mfxsr` flags.
|
||||
|
|
|
@ -1,8 +1,5 @@
|
|||
# Thorium SSE3
|
||||
|
||||
This directory contains build config files for compiling Thorium/Chromium with [SSE3](https://en.wikipedia.org/wiki/SSE3)
|
||||
This directory contains build config files for compiling Thorium/Chromium with [SSE3](https://en.wikipedia.org/wiki/SSE3).
|
||||
|
||||
They can also be adapted (and I do exactly this for my occassional SSE4.1 builds) to make [SSE4](https://en.wikipedia.org/wiki/SSE4), [SSE4.1](https://en.wikipedia.org/wiki/SSE4#SSE4.1), or [SSE4.2](https://en.wikipedia.org/wiki/SSE4#SSE4.2) builds.
|
||||
|
||||
SSE4.1 could be used, for example, for building for a Core 2 Duo system. \
|
||||
I make SSE4.2 builds for 1st Gen core, since I have a laptop with a 1st gen "Westmere" CPU.
|
||||
This is the officially supported baseline instruction set for Chrome.
|
||||
|
|
9
other/SSE4.1/README.md
Normal file
9
other/SSE4.1/README.md
Normal file
|
@ -0,0 +1,9 @@
|
|||
# Thorium SSE4.1
|
||||
|
||||
This directory contains build config files for compiling Thorium/Chromium with [SSE4.1](https://en.wikipedia.org/wiki/SSE4#SSE4.1).
|
||||
|
||||
They can also be edited (and I do exactly this for my occassional Westmere builds) to make [SSE4.2](https://en.wikipedia.org/wiki/SSE4#SSE4.2) builds.
|
||||
|
||||
SSE4.1 is used to target Core 2 Duo systems at a minimum.
|
||||
|
||||
I make SSE4.2 builds for 1st Gen core, since I have a laptop with a 1st gen "Westmere" CPU.
|
92
other/SSE4.1/SSE4_args.gn
Normal file
92
other/SSE4.1/SSE4_args.gn
Normal file
|
@ -0,0 +1,92 @@
|
|||
google_api_key = ""
|
||||
google_default_client_id = ""
|
||||
google_default_client_secret = ""
|
||||
visual_studio_version = "2022"
|
||||
# clang_base_path = "/usr/lib/llvm-18"
|
||||
# clang_version = "18"
|
||||
# use_polly = true
|
||||
target_os = "win"
|
||||
target_cpu = "x64"
|
||||
is_official_build = true
|
||||
is_debug = false
|
||||
enable_stripping = true
|
||||
thin_lto_enable_cache = false
|
||||
dcheck_always_on = false
|
||||
exclude_unwind_tables = true
|
||||
# enable_debugallocation = false
|
||||
enable_iterator_debugging = false
|
||||
disable_fieldtrial_testing_config = true
|
||||
enable_reporting = false
|
||||
enable_resource_allowlist_generation = false
|
||||
enable_profiling = false
|
||||
is_component_build = false
|
||||
symbol_level = 0
|
||||
enable_nacl = false
|
||||
optimize_webui = true
|
||||
enable_webui_tab_strip = true
|
||||
is_clang = true
|
||||
treat_warnings_as_errors = false
|
||||
# llvm_force_head_revision = true
|
||||
win_enable_cfg_guards = true
|
||||
use_lld = true
|
||||
v8_symbol_level = 0
|
||||
v8_enable_fast_torque = true
|
||||
v8_enable_builtins_optimization = true
|
||||
v8_enable_maglev = true
|
||||
v8_enable_turbofan = true
|
||||
# v8_enable_wasm_simd256_revec = true
|
||||
use_v8_context_snapshot = true
|
||||
blink_symbol_level = 0
|
||||
enable_precompiled_headers = false
|
||||
media_use_ffmpeg = true
|
||||
media_use_libvpx = true
|
||||
# enable_hls_sample_aes = true
|
||||
enable_hls_demuxer = true
|
||||
enable_ink = false
|
||||
enable_discovery = false
|
||||
enable_cros_media_app = false
|
||||
proprietary_codecs = true
|
||||
ffmpeg_branding = "Chrome"
|
||||
# Set to false for Polly build
|
||||
clang_use_chrome_plugins = true
|
||||
enable_ffmpeg_video_decoders = true
|
||||
is_component_ffmpeg = true
|
||||
# use_webaudio_ffmpeg = false
|
||||
use_webaudio_pffft = true
|
||||
# enable_av1_decoder = true
|
||||
# enable_dav1d_decoder = true
|
||||
enable_library_cdms = true
|
||||
enable_widevine = true
|
||||
bundle_widevine_cdm = true
|
||||
# enable_widevine_cdm_component = true
|
||||
# enable_media_foundation_widevine_cdm = true
|
||||
# enable_cdm_host_verification = true
|
||||
enable_cdm_storage_id = true
|
||||
enable_widevine_cdm_host_verification = true
|
||||
enable_rlz = true
|
||||
ignore_missing_widevine_signing_cert = true
|
||||
enable_media_drm_storage = true
|
||||
# enable_media_overlay = true
|
||||
enable_hangout_services_extension = true
|
||||
rtc_use_h264 = true
|
||||
rtc_include_ilbc = true
|
||||
# rtc_build_with_neon = true
|
||||
rtc_build_examples = false
|
||||
rtc_enable_avx2 = false
|
||||
enable_vr = true
|
||||
# use_vr_assets_component = true
|
||||
enable_platform_hevc = true
|
||||
enable_hevc_parser_and_hw_decoder = true
|
||||
enable_platform_ac3_eac3_audio = true
|
||||
enable_platform_ac4_audio = false
|
||||
enable_platform_dolby_vision = true
|
||||
enable_platform_encrypted_dolby_vision = true
|
||||
enable_platform_mpeg_h_audio = true
|
||||
enable_platform_dts_audio = true
|
||||
enable_mse_mpeg2ts_stream_parser = true
|
||||
use_text_section_splitting = true
|
||||
use_thin_lto = true
|
||||
thin_lto_enable_optimizations = true
|
||||
enable_rust = true
|
||||
chrome_pgo_phase = 2
|
||||
pgo_data_path = "/home/alex/chromium/src/chrome/build/pgo_profiles/chrome-win64-6261-1708451532-4bb48d7e6cad72471e85cf208d807a21e3bafacc-85bd8488a36d82a5e4478ad2a9d47c3d8a9d037a.profdata"
|
Loading…
Reference in a new issue