perf: optimize algorithm-c release builds -O3
This commit is contained in:
parent
0316298825
commit
f57aa91880
2 changed files with 7 additions and 7 deletions
|
@ -129,11 +129,12 @@
|
|||
:use_test_definition: FALSE
|
||||
|
||||
# Configure additional command line flags provided to tools used in each build step
|
||||
# :flags:
|
||||
# :release:
|
||||
# :compile: # Add '-Wall' and '--02' to compilation of all files in release target
|
||||
# - -Wall
|
||||
# - --O2
|
||||
:flags:
|
||||
:release:
|
||||
:compile: # Add '-Wall' and '--02' to compilation of all files in release target
|
||||
- -Wall
|
||||
- -O3
|
||||
- -g
|
||||
# :test:
|
||||
# :compile:
|
||||
# '(_|-)special': # Add '-pedantic' to compilation of all files in all test executables with '_special' or '-special' in their names
|
||||
|
@ -383,8 +384,6 @@
|
|||
:release_compiler:
|
||||
:executable: "#{ENV['CC']}"
|
||||
:arguments:
|
||||
- "-g"
|
||||
- "-Wall"
|
||||
- "-c"
|
||||
- "${1}"
|
||||
- "-o"
|
||||
|
|
|
@ -10,4 +10,5 @@ void tearDown(void) {}
|
|||
void test_crc32_check(void) {
|
||||
TEST_ASSERT_EQUAL_INT(crc32_checksum(CRC_CHECK_DATA, CRC_CHECK_DATA_LEN),
|
||||
0xCBF43926);
|
||||
TEST_ASSERT_EQUAL_INT(crc32_checksum("Hello World", 11), 1243066710);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue