povray: model mkl dependency correctly (#20265)
Added the correct depends_on directive if the mkl variant is active. Added conflicts for archs that don't support mkl
This commit is contained in:
parent
af9bf816fe
commit
b4ed4fb226
1 changed files with 9 additions and 0 deletions
|
@ -63,8 +63,17 @@ class Povray(AutotoolsPackage):
|
|||
depends_on('libpng@1.2.5:', when='+libpng')
|
||||
depends_on('jpeg', when='+jpeg')
|
||||
depends_on('libtiff@3.6.1:', when='+libtiff')
|
||||
depends_on('mkl', when='+mkl')
|
||||
depends_on('openexr@1.2:', when='+openexr')
|
||||
|
||||
# MKL conflicts
|
||||
conflicts('+mkl', when='target=aarch64:',
|
||||
msg='Intel MKL only runs on x86')
|
||||
conflicts('+mkl', when='target=ppc64:',
|
||||
msg='Intel MKL only runs on x86')
|
||||
conflicts('+mkl', when='target=ppc64le:',
|
||||
msg='Intel MKL only runs on x86')
|
||||
|
||||
# This patch enables prebuild.sh to be invoked from any directory
|
||||
# (it immediately cds to the directory containing prebuild.sh)
|
||||
# This is better than a broken check that it was called from the
|
||||
|
|
Loading…
Reference in a new issue