R: fix build on macOS arm64 (#39228)

This commit is contained in:
Adam J. Stewart 2023-08-03 07:15:06 -05:00 committed by GitHub
parent 6e933ac7df
commit c0c300d773
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -102,6 +102,8 @@ class R(AutotoolsPackage):
# temporary fix to lower the optimization level. # temporary fix to lower the optimization level.
patch("change_optflags_tmp.patch", when="%fj@4.1.0") patch("change_optflags_tmp.patch", when="%fj@4.1.0")
build_directory = "spack-build"
# R custom URL version # R custom URL version
def url_for_version(self, version): def url_for_version(self, version):
"""Handle R's customed URL versions""" """Handle R's customed URL versions"""