[libc] Fix `nvptx_options` variable not being reset in CMake
authorJoseph Huber <jhuber6@vols.utk.edu>
Wed, 19 Apr 2023 20:27:33 +0000 (15:27 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Wed, 19 Apr 2023 20:28:26 +0000 (15:28 -0500)
commit24214832fd433a901c2296088bf23b7bc86c6a96
tree771252956d700f093af34376971652c0963eb77e
parent59736ceb8d45ac2a0e7e8b67fa2e067c9f3070ef
[libc] Fix `nvptx_options` variable not being reset in CMake

Summary:
This variable was not being reset, which caused the options to be
compounded when building multiple architectures. This was very
problematic as the architectures are not compatible.
libc/cmake/modules/LLVMLibCObjectRules.cmake