Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #122

Closed
wants to merge 155 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
155 commits
Select commit Hold shift + click to select a range
bf14b42
proj: correct CMake arg for shared build with proj older than 7.0.0 (…
johnwparent Mar 9, 2024
8955e63
feat: add LLVM v18.1.1 (#43109)
pranav-sivaraman Mar 10, 2024
1e41347
build(deps): bump mypy from 1.8.0 to 1.9.0 in /lib/spack/docs (#43103)
dependabot[bot] Mar 11, 2024
000dff2
build(deps): bump docker/build-push-action from 5.1.0 to 5.2.0 (#43107)
dependabot[bot] Mar 11, 2024
d6421a6
fix typo in dependency (#43105)
jonas-eschle Mar 11, 2024
1e47ccb
Remove dead code (#43114)
alalazo Mar 11, 2024
8ecae17
dla-future: Add patch for compilation with newer ROCm versions (#42348)
msimberg Mar 11, 2024
c72619d
package/qgis: add new version (#42888)
Sinan81 Mar 11, 2024
9786bd9
Update TensorFlow ecosystem (#41069)
adamjstewart Mar 11, 2024
43ca6da
ruby: add version 3.3.0 (#43058)
downloadico Mar 11, 2024
258c651
geant4: new variant timemory (#43111)
wdconinc Mar 11, 2024
97e29e5
e4s ci stacks: add cp2k cpu and gpu specs (#42454)
eugeneswalker Mar 11, 2024
dbf5d79
updated diy/package.py to version 3.6.0 (#43101)
tpeterka Mar 11, 2024
3934df6
fzf: add v0.47.0 (#43113)
alecbcs Mar 11, 2024
98162aa
py-earth2mip: add new package (#43062)
adamjstewart Mar 11, 2024
9dcaa56
py-onnx-opcounter: add new package (#43119)
adamjstewart Mar 11, 2024
a9d294c
aocl-utils: source sha has changed (#43120)
stephenmsachs Mar 11, 2024
24d37df
py-climax: add new package (#43121)
adamjstewart Mar 11, 2024
ce75ada
Fix callbacks accumulation when using mixins with builders (#43100)
alalazo Mar 11, 2024
f5e89df
perl-parsetemplate: add new package (#41845)
ChristopherChristofi Mar 11, 2024
001af62
perl-math-symbolic: add required perl-parse-recdescent dependency (#4…
ChristopherChristofi Mar 11, 2024
e12a8a6
py-neuralgcm: add new package (#43117)
adamjstewart Mar 12, 2024
5f5fc78
Update archspec to v0.2.3 (#42854)
alalazo Mar 12, 2024
03e22ad
sleef: add v3.6 (#42978)
blapie Mar 12, 2024
9a3d248
py-psyclone and py-fparser: Add new releases (#42744)
oakleybrunt Mar 12, 2024
48183b3
gaudi: add py-yaml dependency (#43116)
vvolkl Mar 12, 2024
1e9c462
perl testing: refactor stand-alone testing into base class (#43044)
tldahlgren Mar 12, 2024
e3b6d2c
Intel oneapi compilers 2023.2.4 (#43144)
prstrnn Mar 12, 2024
d6fd96f
libquo: Update default version from 1.3.1 to 1.4. (#43057)
samuelkgutierrez Mar 12, 2024
187b8ad
ecmwf-atlas@0.36: depend on ecbuild@3.4: (#43133)
climbfuji Mar 12, 2024
e54d467
py-lazy-loader: add new version (#43130)
ChristopherChristofi Mar 12, 2024
aeec861
py-art: add new package (#43127)
ChristopherChristofi Mar 12, 2024
63baba0
SEACAS: Make latest release available in spack (#43123)
gsjaardema Mar 12, 2024
f1ec485
unmaintained packages: add new versions (#43112)
alecbcs Mar 12, 2024
0f080b3
abinit: add version 9.10.5 (#43148)
downloadico Mar 12, 2024
94a1d14
spack.patch: support reversing patches (#43040)
adamjstewart Mar 13, 2024
3a82835
Update var/spack/repos/builtin/packages/ecmwf-atlas/package.py: set c…
climbfuji Mar 13, 2024
7506aca
antlr4-cpp-runtime: update dependencies (#43115)
Mar 13, 2024
25f622e
update to cdo-2.4.0 (#43071)
Try2Code Mar 13, 2024
2fa8161
py-ruff: add version 0.3.0 and deprecate the oldest version (#43069)
jmcarcell Mar 13, 2024
4b695d4
rocm-openmp-extras: Fix resource download URLs (#43147)
wyphan Mar 13, 2024
2a8e503
protobuf: apply centos 8 patch only to @3.4: (#43162)
aumuell Mar 13, 2024
21b50fb
octopus: Support new version octopus@14 (#43160)
iamashwin99 Mar 13, 2024
8c33841
Add iamashwin99 as a maintainer in Octopus package (#43163)
iamashwin99 Mar 13, 2024
49ff816
octopus: disable gdlib by default (#43161)
iamashwin99 Mar 13, 2024
cc545d8
jags: add version 4.3.2 (#43166)
ChristopherChristofi Mar 13, 2024
b1a984e
msvc: patch property ref bug (#43173)
johnwparent Mar 13, 2024
29ee861
build(deps): bump docker/login-action from 3.0.0 to 3.1.0 (#43176)
dependabot[bot] Mar 14, 2024
afcf0d2
llvm-openmp: make llvm-openmp consistent with other llvm builds (#43165)
trws Mar 14, 2024
794593b
expat: Add release 2.6.2 with security fixes (#43171)
hartwork Mar 14, 2024
531f01f
highway: add v1.1.0 (#43174)
RMeli Mar 14, 2024
dbdf5ba
build(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#43152)
dependabot[bot] Mar 14, 2024
cc28334
build(deps): bump pytest from 8.0.2 to 8.1.1 in /lib/spack/docs (#43134)
dependabot[bot] Mar 14, 2024
2c30962
amduprof: new package (#30575)
zzzoom Mar 14, 2024
7d67d9e
nvhpc: add v24.3 (#43175)
jmuddnv Mar 14, 2024
c38ef72
compiler.py: simplify implicit link dir bits (#43078)
haampie Mar 14, 2024
8f14acb
mfem: add MUMPs option (#42929)
victor-decaria-nnl Mar 14, 2024
dc212d0
mgard: add version 2023-12-09 (1.5.2) (#41493)
scottwittenburg Mar 14, 2024
f549354
move --deprecated arg to concretizer args (#43177)
becker33 Mar 14, 2024
22cb381
ispc: add v1.22.0 & v1.23.0 (#43159)
aumuell Mar 14, 2024
ec517b4
`spack develop`: stage build artifacts in same root as non-dev builds…
scheibelp Mar 14, 2024
8f56eb6
Improve error message when an unknown compiler is requested (#43143)
alalazo Mar 14, 2024
102811a
Fix Axom: index out of range when configuring axom~mpi on toss_4 (#43…
adrienbernede Mar 14, 2024
751c3fe
nag: add version 7.2.7200 (#43188)
skosukhin Mar 14, 2024
ba39924
e4s cray ci: mgard is broken, disable spec (#43194)
eugeneswalker Mar 14, 2024
4495e03
Clingo bootstrapping: Remove msvc constraint (#43199)
johnwparent Mar 15, 2024
59c7ff8
Allow compilers to be configured in packages.yaml (#42016)
becker33 Mar 15, 2024
6f7f952
cray-rhel: add a lower bound to mgard (#43187)
alalazo Mar 15, 2024
f58ebd4
pandora{pfa,sdk,monitoring}: new HEP package for particle flow analys…
wdconinc Mar 15, 2024
b938828
New patch release SLEPc 3.20.2 (#43211)
joseeroman Mar 15, 2024
968ad02
geant4: patch old versions to work on new compiler/ubuntu (#43212)
sethrj Mar 15, 2024
6d2341c
py-black: add v24.3.0 (#43226)
adamjstewart Mar 15, 2024
e78d20d
build(deps): bump black in /.github/workflows/style (#43227)
dependabot[bot] Mar 15, 2024
96061d2
build(deps): bump black from 24.2.0 to 24.3.0 in /lib/spack/docs (#43…
dependabot[bot] Mar 15, 2024
5ab10d5
geant4: add matinainer, clean args (#43218)
sethrj Mar 16, 2024
53be280
Remove bundled fmt (#43210)
tpadioleau Mar 18, 2024
a7dd756
gcc 12.3 ICE patch for aarch64 (#43093)
simonpintarelli Mar 18, 2024
8cd160d
zlib-ng: add variant new_strategies (#43219)
skosukhin Mar 18, 2024
3d81364
performance: avoid `jinja2` import at startup unless needed (#43237)
tgamblin Mar 18, 2024
429c359
Fix CMake generator documentation (#43232)
tttapa Mar 18, 2024
3445da8
rocm-smi-lib: remove standalone test and add build time test (#43129)
afzpatel Mar 18, 2024
fef6aed
py-branca: add new package (#43236)
ChristopherChristofi Mar 18, 2024
339a633
py-pyshp: add new version (#43234)
ChristopherChristofi Mar 18, 2024
02d126c
py-geopandas: add new version 0.14.3 (#43235)
ChristopherChristofi Mar 18, 2024
a3f3989
py-shacl: new version, update dependencies (#42905)
matz-e Mar 18, 2024
69a0528
py-cutadapt: updating to @4.7 (#43214)
A-N-Other Mar 18, 2024
4cd8488
intel-gtpin: add version 4.0 (#43216)
wyphan Mar 18, 2024
b4c0e6f
scorep: add v8.4 (#43225)
wspear Mar 18, 2024
282df7a
fzf: add v0.48.0 (#43230)
alecbcs Mar 18, 2024
9662d18
use directives in some packages (#43238)
haampie Mar 18, 2024
c02f58d
llvm-amdgpu: add rpath to HIP rt (#42876)
afzpatel Mar 18, 2024
12adf66
telocal: add new package (#43241)
A-N-Other Mar 18, 2024
cd919d5
build(deps): bump docker/build-push-action from 5.2.0 to 5.3.0 (#43205)
dependabot[bot] Mar 18, 2024
9a71733
build(deps): bump docker/setup-buildx-action from 3.1.0 to 3.2.0 (#43…
dependabot[bot] Mar 18, 2024
755131f
py-optax: add new version (#43169)
ChristopherChristofi Mar 18, 2024
193386f
netcdfc: consider static build in pkgconf filtering (#43084)
johnwparent Mar 18, 2024
6e0bab1
fujitsu-mpi: add gcc and clang support (#43053)
jdomke Mar 18, 2024
56ace9a
py-wand: add v0.6.13 (#42972)
Sinan81 Mar 18, 2024
d5c1e16
sgpp: update dependency versions (#43178)
G-071 Mar 18, 2024
3984dd7
package/py-setuptools_add_new_versions (#43180)
Sinan81 Mar 18, 2024
9756354
mgard: don't restrict protobuf version more than necessary (#43172)
aumuell Mar 19, 2024
1a007a8
cmake: deprecate old patch releases and add missing gmake dep (#43261)
haampie Mar 19, 2024
ab590cc
WGL: Update `libs` for new archspec on Win (#43253)
johnwparent Mar 19, 2024
b659eac
slate: add v2023.11.05 (#42913)
G-Ragghianti Mar 19, 2024
ea96403
ffmpeg: Fix patch hash (#43269)
RemiLacroix-IDRIS Mar 19, 2024
f16e295
n2p2: add --no-print-directory flag to calls to "make" (#43196)
payerle Mar 19, 2024
06392f2
gnutls: add v3.8.3 (#43229)
alecbcs Mar 19, 2024
588a94b
apex: add v2.6.5 (#43242)
msimberg Mar 19, 2024
dde8fa5
scorep: add conflict for ROCm6 (#43240)
wrwilliams Mar 19, 2024
41d20d3
amdblibm: add support for parallel build (#43258)
amd-toolchain-support Mar 19, 2024
33f6f55
aocl-sparse: fix inconsistency in dependency logic (#43259)
amd-toolchain-support Mar 19, 2024
3addda6
mgard: disable C++11 warning also for apple-clang@15 (#43170)
aumuell Mar 19, 2024
c33af49
py-keras: add v3.1.0 (#43268)
adamjstewart Mar 20, 2024
de5e20f
py-snoop: new package (#42945)
jmlapre Mar 20, 2024
4d8381a
fmt: Add master branch as version (#43239)
msimberg Mar 20, 2024
eb11fa7
lua-sol2: merge duplicate sol2 package into it (#43155)
rbberger Mar 20, 2024
ac8800f
heffte: Update MKL dependency to intel-oneapi-mkl (#43273)
G-Ragghianti Mar 20, 2024
7cb0dbf
Remove optimization criterion on OS mismatches (#43282)
alalazo Mar 20, 2024
2f0a73f
Define variant `typescript` for py-jupyter-server with explicit depen…
climbfuji Mar 20, 2024
7028669
fastjet: add version 3.4.2 (#43285)
jmcarcell Mar 20, 2024
ba02c6b
seacas: update the variants and tpls (#43195)
mvlopri Mar 20, 2024
485b6e2
Update Intel download URLs (#43286)
rscohn2 Mar 20, 2024
ecef72c
Target.optimization_flags converts non-numeric versions to numeric (#…
becker33 Mar 20, 2024
8d9d721
py-postcactus: new package (#42907)
alex391 Mar 20, 2024
9802649
berkeleygw: update FCPP flags for gcc (#42848)
lang-m Mar 20, 2024
65fa71c
py-pycm: new package (#43251)
ChristopherChristofi Mar 20, 2024
de1f959
cray: return false more readily in detection logic (#43150)
becker33 Mar 20, 2024
0eb1957
cmd/python: use runpy to allow multiprocessing in scripts (#41789)
trws Mar 21, 2024
2303332
Update aws-ofi-nccl to use the hwloc option (#43287)
aurianer Mar 21, 2024
384e198
py-python-lsp-server: add v1.10.0 (#42799)
alecbcs Mar 21, 2024
1f63a76
jdk: new versions (#43264)
haampie Mar 21, 2024
c4ce51c
Add flash-attn package (#42939)
aurianer Mar 21, 2024
446c0f2
Disable interactive editor when --batch if passed to checksum (#43102)
alecbcs Mar 21, 2024
09810a5
py-cig-pythia: add py-cig-pythia package to spack (#43294)
downloadico Mar 21, 2024
aa39465
Re enable aws pcluster buildcache stack (#38931)
stephenmsachs Mar 21, 2024
67ac9c4
namd: disable parallel build for 3.0b3 (#43215)
RMeli Mar 21, 2024
d1f9d8f
libEnsemble: add v1.2.2 (#43308)
shuds13 Mar 21, 2024
6547215
dorado: adding version 0.5.3 (#43313)
snehring Mar 21, 2024
fc87dca
py-torchmetrics: add v1.3.2 (#43244)
adamjstewart Mar 21, 2024
cfd4e35
x264: Tag a recent commit: 20240314 (#43304)
RemiLacroix-IDRIS Mar 21, 2024
af8868f
xv (image viewer): Add missing depends_on(libxt) (#43277)
alexrichert Mar 21, 2024
73e16a7
py-mrcfile: add new version (#43125)
ChristopherChristofi Mar 21, 2024
81c9e34
helics: Add version 3.5.1 (#43314)
HELICS-bot Mar 22, 2024
4ac51b2
libiconv: fix building with nvhpc (#43033)
skosukhin Mar 22, 2024
50562e6
py-neptune-client and missing deps: new package (#43059)
alex391 Mar 22, 2024
f70af2c
libristra: depends_on() for lua: allow newer lua versions (#42810)
rbberger Mar 22, 2024
fedf812
openblas: Add variant dynamic_dispatch: select best kernel at runtime…
amd-toolchain-support Mar 22, 2024
d7a74bd
easi: add v1.3.0, python bindings and master (#42784)
Thomas-Ulrich Mar 22, 2024
7668a08
ncurses: Add terminfo for rxvt-unicode{,-256color} (#42721)
glaweh Mar 22, 2024
d33e10a
ffmpeg: add v6.1.1 and older patch release updates (#43050)
aumuell Mar 22, 2024
2314aeb
py-cmake: only run test suite when run_tests (#43246)
vvolkl Mar 22, 2024
69c684f
ELPA: enable GPU streams and update deprecated variables (#43145)
RMeli Mar 22, 2024
4746e8a
apex: Set `APEX_WITH_KOKKOS` CMake option in apex package (#43243)
msimberg Mar 22, 2024
7b9b976
openssh: add 9.7p1 and 9.6p1; update workaround for clang (#40857)
Thomas-Ulrich Mar 22, 2024
434836b
python wheels: do not "expand" (#43317)
haampie Mar 22, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
openblas: Add variant dynamic_dispatch: select best kernel at runtime (
…spack#42746)

Enable OpenBLAS's built-in CPU capability detection and kernel selection. 

This allows run-time selection of the "best" kernels for the running CPU, rather
than what is specified at build time.  For example, it allows OpenBLAS  to use
AVX512 kernels when running on ZEN4, and built targeting the "ZEN" architecture.

Co-authored-by: Branden Moore <branden.moore@amd.com>
  • Loading branch information
amd-toolchain-support and bramoore authored Mar 22, 2024
commit fedf8128ae13abeaad933ef63f598db317c39d79
16 changes: 16 additions & 0 deletions var/spack/repos/builtin/packages/openblas/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ class Openblas(CMakePackage, MakefilePackage):
variant("ilp64", default=False, description="Force 64-bit Fortran native integers")
variant("pic", default=True, description="Build position independent code")
variant("shared", default=True, description="Build shared libraries")
variant(
"dynamic_dispatch",
default=True,
description="Enable runtime cpu detection for best kernel selection",
)
variant(
"consistent_fpcsr",
default=False,
Expand Down Expand Up @@ -239,6 +244,12 @@ class Openblas(CMakePackage, MakefilePackage):
when="%clang",
msg="OpenBLAS @:0.2.19 does not support OpenMP with clang!",
)
# See https://github.com/OpenMathLib/OpenBLAS/issues/2826#issuecomment-688399162
conflicts(
"+dynamic_dispatch",
when="platform=windows",
msg="Visual Studio does not support OpenBLAS dynamic dispatch features",
)

depends_on("perl", type="build")

Expand Down Expand Up @@ -453,6 +464,9 @@ def make_defs(self):
# Add target and architecture flags
make_defs += self._microarch_target_args()

if self.spec.satisfies("+dynamic_dispatch"):
make_defs += ["DYNAMIC_ARCH=1"]

# Fortran-free compilation
if "~fortran" in self.spec:
make_defs += ["NOFORTRAN=1"]
Expand Down Expand Up @@ -562,6 +576,8 @@ def check_install(self):
class CMakeBuilder(spack.build_systems.cmake.CMakeBuilder):
def cmake_args(self):
cmake_defs = [self.define("TARGET", "GENERIC")]
if self.spec.satisfies("+dynamic_dispatch"):
cmake_defs += [self.define("DYNAMIC_ARCH", "ON")]
if self.spec.satisfies("platform=windows"):
cmake_defs += [
self.define("DYNAMIC_ARCH", "OFF"),
Expand Down