Compare commits
3 Commits
psakiev/ca
...
spack-snak
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
707cc32d70 | ||
|
|
eb95390ce7 | ||
|
|
527d723db0 |
@@ -0,0 +1,44 @@
|
||||
spack:
|
||||
view: false
|
||||
|
||||
concretizer:
|
||||
reuse: false
|
||||
unify: false
|
||||
static_analysis: true
|
||||
|
||||
packages:
|
||||
all:
|
||||
require:
|
||||
- "%gcc"
|
||||
- target=x86_64_v3
|
||||
variants: +mpi
|
||||
c:
|
||||
require: gcc
|
||||
cxx:
|
||||
require: gcc
|
||||
fortran:
|
||||
require: gcc
|
||||
mpi:
|
||||
require:
|
||||
- openmpi
|
||||
blas:
|
||||
require:
|
||||
- openblas
|
||||
lapack:
|
||||
require:
|
||||
- openblas
|
||||
specs:
|
||||
- python
|
||||
- py-numpy
|
||||
- py-scipy
|
||||
- py-matplotlib
|
||||
- py-pip
|
||||
- py-mpi4py
|
||||
|
||||
ci:
|
||||
pipeline-gen:
|
||||
- build-job:
|
||||
image: ghcr.io/spack/spack/ubuntu22.04-runner-amd64-gcc-11.4:2024.03.01
|
||||
|
||||
cdash:
|
||||
build-group: spack-snake
|
||||
@@ -17,6 +17,13 @@ class Qgis(CMakePackage):
|
||||
maintainers("adamjstewart", "Sinan81")
|
||||
|
||||
license("GPL-2.0-or-later")
|
||||
|
||||
# Prefer latest LTR
|
||||
version(
|
||||
"3.40.6",
|
||||
sha256="dd68d39a2a29326031195bed2125e8b0fa7112fe9ee74d5f9850d06b02cef6a8",
|
||||
preferred=True,
|
||||
)
|
||||
version("3.40.1", sha256="53110464c9f5ba5562c437e1563ab36dad2f218e6e7d1c0cfbe5b6effe241c8e")
|
||||
# version 3.36 isn't building right now.
|
||||
version(
|
||||
@@ -24,12 +31,8 @@ class Qgis(CMakePackage):
|
||||
sha256="1b64bc92660bf07edc6b6478fc6a13656149e87d92eabe5c3db9493072506e2c",
|
||||
deprecated=True,
|
||||
)
|
||||
# Prefer latest LTR
|
||||
version(
|
||||
"3.34.13",
|
||||
sha256="a8873ca9bae346bae48ef3fe3eed702ef1f06d951201464464a64019302ba50b",
|
||||
preferred=True,
|
||||
)
|
||||
version("3.34.15", sha256="afb0bed05ffbc7bcb6d27dd1a8644b1e63ac2cb322baa058ff65b848c760efc2")
|
||||
version("3.34.13", sha256="a8873ca9bae346bae48ef3fe3eed702ef1f06d951201464464a64019302ba50b")
|
||||
version("3.34.4", sha256="7d1c5fafff13f508a9bcf6244c9666f891351deb1ace2aedcc63504f070c5ce4")
|
||||
version("3.34.0", sha256="348a2df4c4520813a319b7f72546b3823e044cacd28646ba189b56a49c7d1b5f")
|
||||
version("3.28.15", sha256="217342ba2232cc8fe5bf8f3671c2b3d6daf5504c33006b67424373e70d568dfa")
|
||||
|
||||
@@ -15,6 +15,8 @@ class Qscintilla(QMakePackage):
|
||||
homepage = "https://www.riverbankcomputing.com/software/qscintilla/intro"
|
||||
url = "https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.12.0/QScintilla_src-2.12.0.tar.gz"
|
||||
|
||||
maintainers("Sinan81")
|
||||
|
||||
license("GPL-3.0-only")
|
||||
|
||||
version("2.14.1", sha256="dfe13c6acc9d85dfcba76ccc8061e71a223957a6c02f3c343b30a9d43a4cdd4d")
|
||||
@@ -38,7 +40,7 @@ class Qscintilla(QMakePackage):
|
||||
depends_on("py-pyqt5", type=("build", "run"), when="+python ^qt@5")
|
||||
depends_on("python", type=("build", "run"), when="+python")
|
||||
# adter install inquires py-sip variant : so we need to have it
|
||||
depends_on("py-sip", type="build", when="~python")
|
||||
depends_on("py-sip", type="build", when="+python")
|
||||
|
||||
extends("python", when="+python")
|
||||
|
||||
@@ -118,7 +120,7 @@ def make_qsci_python(self):
|
||||
|
||||
mkdirp(os.path.join(self.prefix.share.sip, pyqtx))
|
||||
|
||||
sip_build = Executable(self.spec["py-sip"].prefix.bin.join("sip-build"))
|
||||
sip_build = Executable(self["py-sip"].prefix.bin.join("sip-build"))
|
||||
sip_build(
|
||||
"--target-dir=" + python_platlib,
|
||||
"--qsci-include-dir=" + self.spec.prefix.include,
|
||||
|
||||
Reference in New Issue
Block a user