Allow us to build a semi-dynamic official binary that works back to CentOS 6, at least on x64, and is very fast since we can build it with newer clang or icc.

This commit is contained in:
Adam Ierymenko 2018-02-01 15:52:41 -08:00
parent 51715376bf
commit 26aaf253ac
3 changed files with 28 additions and 3 deletions

View file

@ -660,6 +660,7 @@ static int testOther()
std::cout << " " << InetAddress("").toString(buf);
std::cout << std::endl;
#if 0
std::cout << "[other] Benchmarking memcpy... "; std::cout.flush();
{
unsigned char *bb = (unsigned char *)::malloc(1234567);
@ -681,6 +682,7 @@ static int testOther()
::free((void *)bb);
::free((void *)cc);
}
#endif
std::cout << "[other] Benchmarking ZT_FAST_MEMCPY... "; std::cout.flush();
{