message: Add a ubsan evergreen job
diff: @@ -81,6 +81,10 @@ functions:
  set_cmake_var realm_vars REALM_TSAN BOOL On
  fi
  + if [ -n "${enable_ubsan|}" ]; then
  + set_cmake_var realm_vars REALM_USAN BOOL On
  + fi
  +
  if [ -z "${disable_sync|}" ]; then
  set_cmake_var realm_vars REALM_ENABLE_SYNC BOOL On
  fi
  @@ -793,6 +797,23 @@ buildvariants:
  distros:
  - ubuntu2004-large
  +- name: ubuntu2004-ubsan
  + display_name: "Ubuntu 20.04 x86_64 (Clang 11 UBSAN)"
  + run_on: ubuntu2004-small
  + expansions:
  + clang_url: "https://s3.amazonaws.com/static.realm.io/evergreen-assets/clang%2Bllvm-11.0.0-x86_64-linux-gnu-ubuntu-20.04.tar.xz"
  + cmake_url: "https://s3.amazonaws.com/static.realm.io/evergreen-assets/cmake-3.20.3-linux-x86_64.tar.gz"
  + cmake_bindir: "./cmake_binaries/bin"
  + fetch_missing_dependencies: On
  + run_tests_against_baas: On
  + enable_ubsan: On
  + c_compiler: "./clang_binaries/bin/clang"
  + cxx_compiler: "./clang_binaries/bin/clang++"
  + tasks:
  + - name: compile_test
  + distros:
  + - ubuntu2004-large
  +
  - name: rhel70
  display_name: "RHEL 7 x86_64"
  run_on: rhel70-small
  