[OpenMP][libomp] Fix version scripts after undefined version script changes
authorJoseph Huber <jhuber6@vols.utk.edu>
Thu, 8 Dec 2022 18:34:38 +0000 (13:34 -0500)
committerJoseph Huber <jhuber@amd.com>
Thu, 8 Dec 2022 18:37:03 +0000 (13:37 -0500)
commitc6e6231e2f467528e727bf9287c42975e778b8ed
tree23d42e69a66a65f7e5b30b10b20b68c745f87203
parentb4028fbc1a8853c34517f44ef779d517a44bd71d
[OpenMP][libomp] Fix version scripts after undefined version script changes

Summary:
Building with `lld` now errors on undefined symbols by default now. This
was causing `libomp` to think that the compiler didn't support version
scripts when checking linker features. This patch adds a new script that
exports all symbols to be used for testing. We also remove the old
workarounds for undefined versions now that it's no longer necessary.
openmp/runtime/cmake/LibompHandleFlags.cmake
openmp/runtime/cmake/config-ix.cmake
openmp/runtime/src/exports_test_so.txt [new file with mode: 0644]