more fixes

This commit is contained in:
Alexander Frick 2023-04-23 05:31:56 -05:00
parent 0fa096f334
commit 21397a7dba
5 changed files with 19 additions and 12 deletions

View file

@ -143,6 +143,9 @@ config("compiler") {
"/clang:-maes",
"/clang:-mpclmul",
"-Xclang", "-O3",
"/clang:-march=x86-64-v3",
"/clang:-mtune=generic",
"/clang:-ffp-contract=fast",
"/arch:AVX2",
"-Wno-unused-command-line-argument",
]

View file

@ -1265,7 +1265,7 @@ config("toolchain") {
defines += [ "V8_TARGET_ARCH_IA32" ]
if (is_win) {
# Ensure no surprising artifacts from 80bit double math with x86.
cflags += [ "/arch:SSE2" ]
cflags += [ "/O2", "/arch:SSE2" ]
}
}
if (v8_current_cpu == "x64") {
@ -1274,7 +1274,7 @@ config("toolchain") {
# Increase the initial stack size. The default is 1MB, this is 2MB. This
# applies only to executables and shared libraries produced by V8 since
# ldflags are not pushed to dependants.
cflags += [ "/arch:AVX2" ]
cflags += [ "/O2", "/arch:AVX2" ]
ldflags += [ "/STACK:2097152" ]
}
if (is_linux) {

View file

@ -1,18 +1,17 @@
google_api_key = ""
google_default_client_id = ""
google_default_client_secret = ""
# is_chancie_wancie_build = true
visual_studio_version = "2022"
msvc_use_sse2 = true
# clang_base_path = "/usr/lib/llvm-16"
# clang_version = "16"
# lld_path = "/usr/lib/llvm-16/bin/"
# use_polly = true
visual_studio_version = "2022"
msvc_use_sse2 = true
target_os = "win"
target_cpu = "x86"
enable_stripping = true
is_official_build = true
is_debug = false
enable_stripping = true
dcheck_always_on = false
exclude_unwind_tables = true
# enable_debugallocation = false
@ -23,6 +22,7 @@ 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
@ -32,7 +32,6 @@ use_lld = true
v8_symbol_level = 0
v8_enable_fast_torque = true
use_v8_context_snapshot = true
enable_nacl = false
blink_symbol_level = 0
enable_precompiled_headers = false
media_use_ffmpeg = true
@ -52,13 +51,14 @@ 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 = false
enable_widevine_cdm_component = true
# enable_widevine_cdm_component = true
# enable_media_foundation_widevine_cdm = true
ignore_missing_widevine_signing_cert = true
enable_media_drm_storage = true
enable_media_overlay = true
# enable_media_overlay = true
enable_hangout_services_extension = true
rtc_use_h264 = true
rtc_include_ilbc = true

View file

@ -1265,7 +1265,7 @@ config("toolchain") {
defines += [ "V8_TARGET_ARCH_IA32" ]
if (is_win) {
# Ensure no surprising artifacts from 80bit double math with x86.
cflags += [ "/arch:SSE2" ]
cflags += [ "/O2", "/arch:SSE2" ]
}
}
if (v8_current_cpu == "x64") {
@ -1274,7 +1274,7 @@ config("toolchain") {
# Increase the initial stack size. The default is 1MB, this is 2MB. This
# applies only to executables and shared libraries produced by V8 since
# ldflags are not pushed to dependants.
cflags += [ "/arch:SSE3" ]
cflags += [ "/O2", "/arch:SSE3" ]
ldflags += [ "/STACK:2097152" ]
}
if (is_linux) {

View file

@ -2,6 +2,10 @@ google_api_key = ""
google_default_client_id = ""
google_default_client_secret = ""
visual_studio_version = "2022"
# clang_base_path = "/usr/lib/llvm-16"
# clang_version = "16"
# lld_path = "/usr/lib/llvm-16/bin/"
# use_polly = true
target_os = "win"
target_cpu = "x64"
is_official_build = true
@ -13,7 +17,7 @@ exclude_unwind_tables = true
enable_iterator_debugging = false
disable_fieldtrial_testing_config = true
enable_reporting = false
enable_resource_allowlist_generation = true
enable_resource_allowlist_generation = false
enable_profiling = false
is_component_build = false
symbol_level = 0