Changed cmake/config-ix.cmake to add support for different MIPS architectures: mips, mipsel, mips64, mips64el
In profile code there is no target based dependencies, so just enabling mips flag does the work.
Test results are added below.
Details
Details
Diff Detail
Diff Detail
Event Timeline
cmake/config-ix.cmake | ||
---|---|---|
82 | Defination of CMake if(MATCHES) command is Which can be ambiguous because of regex as an operand. Whereas for CMake if(STREQUAL) exact lexicographical comparison between left and right operand is done; source: http://www.cmake.org/cmake/help/v3.0/command/if.html |
cmake/config-ix.cmake | ||
---|---|---|
101–108 | Why not just write "mipsel|mips64el" ? |
cmake/config-ix.cmake | ||
---|---|---|
101–108 | Yes, I will change it, and thinking about using STREQUAL instead of MATCHES which will result in faster comparison. |
Defination of CMake if(MATCHES) command is
if(<variable|string> MATCHES regex)
Which can be ambiguous because of regex as an operand.
Whereas for CMake if(STREQUAL) exact lexicographical comparison between left and right operand is done;
if(<variable|string> STREQUAL <variable|string>)
source: http://www.cmake.org/cmake/help/v3.0/command/if.html