py-matplotlib: fix config for oneapi compiler (#28265)

* py-matplotlib: fix config for oneapi compiler

* Small change to trigger CI restart
This commit is contained in:
Robert Cohn 2022-01-07 13:17:14 -05:00 committed by GitHub
parent 0e45ad2d7f
commit 7bed76786d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -209,7 +209,8 @@ def configure(self):
config.write('[libs]\n') config.write('[libs]\n')
config.write('system_freetype = True\n') config.write('system_freetype = True\n')
config.write('system_qhull = True\n') config.write('system_qhull = True\n')
if self.spec.satisfies('%clang'): # avoids error where link time opt is used for compile but not link
if self.spec.satisfies('%clang') or self.spec.satisfies('%oneapi'):
config.write('enable_lto = False\n') config.write('enable_lto = False\n')
@run_after('build') @run_after('build')