diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2023-04-25 09:45:41 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2023-04-25 11:24:02 +0300 |
commit | 2487dabc7dceb436d804d225fc48d4f39fdafb61 (patch) | |
tree | ee58326c86cc473054112c01a19c2c7ed22d5ceb | |
parent | 11dc704f55251f5c53b3dc6f79bec148659bdd88 (diff) | |
download | bdwgc-2487dabc7dceb436d804d225fc48d4f39fdafb61.tar.gz |
Travis CI: Randomly choose CPU core for tests with AO ops emulation
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index e8811b70..02e304f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -349,7 +349,7 @@ jobs: - CONF_OPTIONS="--without-libatomic-ops --enable-munmap --enable-cplusplus --enable-static" - compiler: gcc env: - - CONF_CFLAGS="-D _FORTIFY_SOURCE=2 -D AO_USE_PTHREAD_DEFS" + - CONF_CFLAGS="-O3 -D _FORTIFY_SOURCE=2 -D AO_USE_PTHREAD_DEFS -D RANDOM_ONE_CPU_CORE" - CONF_OPTIONS="--without-libatomic-ops --enable-gc-assertions --enable-cplusplus --enable-static" - compiler: clang env: @@ -361,7 +361,7 @@ jobs: - libatomic-ops-dev compiler: gcc env: - - CONF_CFLAGS="-D AO_USE_PTHREAD_DEFS" + - CONF_CFLAGS="-O3 -D AO_USE_PTHREAD_DEFS -D RANDOM_ONE_CPU_CORE" - CONF_OPTIONS="--with-libatomic-ops=yes --enable-cplusplus" - CFLAGS_EXTRA="-D GC_NO_FINALIZATION" - NO_CLONE_LIBATOMIC_OPS=true @@ -371,7 +371,7 @@ jobs: - libatomic-ops-dev compiler: clang env: - - CONF_CFLAGS="-D AO_USE_PTHREAD_DEFS" + - CONF_CFLAGS="-O3 -D AO_USE_PTHREAD_DEFS -D RANDOM_ONE_CPU_CORE" - CONF_OPTIONS="--with-libatomic-ops=yes --enable-gc-assertions --enable-cplusplus --disable-shared --enable-static" - NO_CLONE_LIBATOMIC_OPS=true - compiler: gcc |