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
|
:use_test_definition: FALSE
|
||||||
|
|
||||||
# Configure additional command line flags provided to tools used in each build step
|
# Configure additional command line flags provided to tools used in each build step
|
||||||
# :flags:
|
:flags:
|
||||||
# :release:
|
:release:
|
||||||
# :compile: # Add '-Wall' and '--02' to compilation of all files in release target
|
:compile: # Add '-Wall' and '--02' to compilation of all files in release target
|
||||||
# - -Wall
|
- -Wall
|
||||||
# - --O2
|
- -O3
|
||||||
|
- -g
|
||||||
# :test:
|
# :test:
|
||||||
# :compile:
|
# :compile:
|
||||||
# '(_|-)special': # Add '-pedantic' to compilation of all files in all test executables with '_special' or '-special' in their names
|
# '(_|-)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:
|
:release_compiler:
|
||||||
:executable: "#{ENV['CC']}"
|
:executable: "#{ENV['CC']}"
|
||||||
:arguments:
|
:arguments:
|
||||||
- "-g"
|
|
||||||
- "-Wall"
|
|
||||||
- "-c"
|
- "-c"
|
||||||
- "${1}"
|
- "${1}"
|
||||||
- "-o"
|
- "-o"
|
||||||
|
|
|
@ -10,4 +10,5 @@ void tearDown(void) {}
|
||||||
void test_crc32_check(void) {
|
void test_crc32_check(void) {
|
||||||
TEST_ASSERT_EQUAL_INT(crc32_checksum(CRC_CHECK_DATA, CRC_CHECK_DATA_LEN),
|
TEST_ASSERT_EQUAL_INT(crc32_checksum(CRC_CHECK_DATA, CRC_CHECK_DATA_LEN),
|
||||||
0xCBF43926);
|
0xCBF43926);
|
||||||
|
TEST_ASSERT_EQUAL_INT(crc32_checksum("Hello World", 11), 1243066710);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue