Add qmake virtual provider (#38848)
This commit is contained in:
parent
11b3dac705
commit
edbf12cfa8
@ -49,6 +49,7 @@ packages:
|
||||
pbs: [openpbs, torque]
|
||||
pil: [py-pillow]
|
||||
pkgconfig: [pkgconf, pkg-config]
|
||||
qmake: [qt-base, qt]
|
||||
rpc: [libtirpc]
|
||||
scalapack: [netlib-scalapack, amdscalapack]
|
||||
sycl: [hipsycl]
|
||||
|
@ -28,7 +28,7 @@ class QMakePackage(spack.package_base.PackageBase):
|
||||
|
||||
build_system("qmake")
|
||||
|
||||
depends_on("qt", type="build", when="build_system=qmake")
|
||||
depends_on("qmake", type="build", when="build_system=qmake")
|
||||
|
||||
|
||||
@spack.builder.builder("qmake")
|
||||
|
@ -33,6 +33,8 @@ def get_list_url(qualname):
|
||||
|
||||
maintainers("wdconinc", "sethrj")
|
||||
|
||||
provides("qmake")
|
||||
|
||||
# Default dependencies for all qt-* components
|
||||
generator("ninja")
|
||||
depends_on("cmake@3.16:", type="build")
|
||||
|
@ -69,6 +69,8 @@ class Qt(Package):
|
||||
variant("tools", default=True, description="Build tools, including Qt Designer.")
|
||||
variant("webkit", default=False, description="Build the Webkit extension")
|
||||
|
||||
provides("qmake")
|
||||
|
||||
# Patches for qt@3
|
||||
patch("qt3-accept.patch", when="@3")
|
||||
patch("qt3-headers.patch", when="@3")
|
||||
|
Loading…
Reference in New Issue
Block a user