mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 11:27:32 -03:00
fix mac x64
This commit is contained in:
parent
6f3b4741cc
commit
2d5a427991
2 changed files with 19 additions and 0 deletions
|
@ -2500,6 +2500,24 @@ if (is_win) {
|
|||
common_optimize_on_cflags += [ "-fno-math-errno" ]
|
||||
}
|
||||
|
||||
config("march_crc") {
|
||||
if (!is_win || is_clang) {
|
||||
cflags = [ "-march=armv8-a+crc" ]
|
||||
}
|
||||
}
|
||||
|
||||
config("march_dotprod") {
|
||||
if (!is_win || is_clang) {
|
||||
cflags = [ "-march=armv8.2-a+dotprod" ]
|
||||
}
|
||||
}
|
||||
|
||||
config("march_i8mm") {
|
||||
if (!is_win || is_clang) {
|
||||
cflags = [ "-march=armv8.2-a+i8mm" ]
|
||||
}
|
||||
}
|
||||
|
||||
config("default_stack_frames") {
|
||||
if (!is_win) {
|
||||
if (enable_frame_pointers) {
|
||||
|
|
1
setup.sh
1
setup.sh
|
@ -82,6 +82,7 @@ copyMacOS () {
|
|||
printf "\n" &&
|
||||
printf "${YEL}Copying files for MacOS...${c0}\n" &&
|
||||
cp -r -v arm/mac_arm.gni ${CR_SRC_DIR}/build/config/arm.gni &&
|
||||
cp -r -v other/AVX2/build/config/compiler/BUILD.gn ${CR_SRC_DIR}/build/config/compiler/ &&
|
||||
cp -r -v arm/third_party/* ${CR_SRC_DIR}/third_party/ &&
|
||||
printf "\n"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue