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