Skip to content

Commit

Permalink
Update apple/darwin size configurations for dummy benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
I-mikan-I committed Mar 4, 2024
1 parent ace099e commit d0101be
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
6 changes: 3 additions & 3 deletions config/mac/chips/size-test-clang-ARM-M1/chip.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ cflags = [
'-D_FORTIFY_SOURCE=0'
]
ldflags = [
'-Os', '-Wl,-dead_strip',
'-nostartfiles',
'-Os', '-rdynamic', '-Wl,-dead_strip',
'-target', 'arm64-apple-macos11.1'
]
dummy_libs = ['crt0', 'libc', 'libgcc', 'libm']
dummy_benchmark = 'dummy-benchmark'
user_libs = ['-lm']
6 changes: 3 additions & 3 deletions config/mac/chips/size-test-clang-X86-64/chip.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ cflags = [
'-D_FORTIFY_SOURCE=0'
]
ldflags = [
'-Os', '-Wl,-dead_strip',
'-nostartfiles',
'-Os', '-rdynamic', '-Wl,-dead_strip',
'-target', 'x86_64-apple-macos11.1'
]
dummy_libs = ['crt0', 'libc', 'libgcc', 'libm']
dummy_benchmark = 'dummy-benchmark'
user_libs = ['-lm']
5 changes: 3 additions & 2 deletions config/mac/chips/size-test-clang/chip.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ cflags = [
'-Wincompatible-library-redeclation'
]
ldflags = [
'-Os', '-Wl,-dead_strip', '-nostartfiles', '-nostdlib'
'-Os', '-rdynamic', '-Wl,-dead_strip'
]
dummy_libs = ['crt0', 'libc', 'libgcc', 'libm']
dummy_benchmark = 'dummy-benchmark'
user_libs = ['-lm']

0 comments on commit d0101be

Please sign in to comment.