byte-unixbench: respect compiler choice (#39242)

Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
This commit is contained in:
Aiden Grossman 2023-10-19 01:20:34 -07:00 committed by GitHub
parent cc47b06756
commit fb584853dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,10 @@ class ByteUnixbench(MakefilePackage):
build_directory = "UnixBench"
@property
def build_targets(self):
return [f"CC={spack_cc}"]
def install(self, spec, prefix):
with working_dir(self.build_directory):
install_tree(".", prefix)