[Libomptarget] Use binutils archive executable to address failing tests
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 15 Jun 2022 02:12:41 +0000 (22:12 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 15 Jun 2022 02:14:17 +0000 (22:14 -0400)
commitd87ca519c9760893adb1cf2a26451f0db1ed9a8f
treeae1b10569496e157da4781b36dec27bfb484273f
parentaf9ee3357cec931af68a3a0bb83e82de977caa37
[Libomptarget] Use binutils archive executable to address failing tests

Summary:
The static linking test ensures that we can statically link offloading
programs. To create the test we used `llvm-ar`. However, this may not
exist in the user's environment. This patch changes it to use the
binutils `ar` which should exist on every system running these tests
currently. In the future we should set up the dependencies properly.
openmp/libomptarget/test/offloading/static_linking.c