Skip to content

meson: update OneAPI compiler support patch#33293

Merged
tldahlgren merged 2 commits intospack:developfrom
adamjstewart:packages/meson
Oct 16, 2022
Merged

meson: update OneAPI compiler support patch#33293
tldahlgren merged 2 commits intospack:developfrom
adamjstewart:packages/meson

Conversation

@adamjstewart
Copy link
Copy Markdown
Member

Previous patch was a hack that only worked for C/C++. This patch is an actual feature that also works for Fortran.

@rscohn2 @eli-schwartz

eli-schwartz
eli-schwartz previously approved these changes Oct 13, 2022
tldahlgren
tldahlgren previously approved these changes Oct 14, 2022
Copy link
Copy Markdown
Contributor

@tldahlgren tldahlgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tldahlgren tldahlgren enabled auto-merge (squash) October 14, 2022 02:01
@rgommers
Copy link
Copy Markdown
Contributor

This looks like a good idea to me. You may want to incorporate at least the first one-line diff in mesonbuild/meson#10909 (comment). That avoids configure-time errors on SciPy.

@rscohn2
Copy link
Copy Markdown
Member

rscohn2 commented Oct 15, 2022

You may want to incorporate at least the first one-line diff in mesonbuild/meson#10909 (comment).

I added the changes to the backport: https://github.com/rscohn2/meson/tree/oneapi-backport

@adamjstewart adamjstewart dismissed stale reviews from tldahlgren and eli-schwartz via ceecaa0 October 15, 2022 15:27
@adamjstewart
Copy link
Copy Markdown
Member Author

Thanks! Based on the conversation in mesonbuild/meson#10909, it seems like there are still issues with -fvisibility=hidden that will prevent this from working for scipy. But it also seems like this is a OneAPI problem, not a meson/scipy problem. Should we merge this as is (because it's correct and complete) or should we wait to hear back about -fvisibility? We could theoretically remove scipy from the OneAPI pipeline just to allow my PR to be merged.

@rscohn2
Copy link
Copy Markdown
Member

rscohn2 commented Oct 16, 2022 via email

@adamjstewart
Copy link
Copy Markdown
Member Author

@spackbot run pipeline

@spackbot-app
Copy link
Copy Markdown

spackbot-app bot commented Oct 16, 2022

I've started that pipeline for you!

Copy link
Copy Markdown
Member

@michaelkuhn michaelkuhn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tldahlgren tldahlgren merged commit 496f419 into spack:develop Oct 16, 2022
@adamjstewart adamjstewart deleted the packages/meson branch October 16, 2022 13:04
luke-dt added a commit to dantaslab/spack that referenced this pull request Oct 17, 2022
* py-execnet: 1.9.0 (spack#33282)

* py-execnet: 1.9.0

* bounds

* add version 1.12.3 of parallel-netcdf (spack#33286)

* Add checksum for py-psutil 5.9.2 (spack#33139)

* gitlab ci: Print better information about broken specs (spack#33124)

When a pipeline generation job is automatically failed because it
generated jobs for specs known to be broken on develop, print better
information about the broken specs that were encountered.  Include
at a minimum the hash and the url of the job whose failure caused it
to be put on the broken specs list in the first place.

* meson: remove slash in path (spack#33292)

* Add checksum for py-gitpython 3.1.27 (spack#33285)

* Add checksum for py-gitpython 3.1.27

* Update package.py

* Update var/spack/repos/builtin/packages/py-gitpython/package.py

Co-authored-by: Adam J. Stewart <[email protected]>

Co-authored-by: Adam J. Stewart <[email protected]>

* UPC++/GASNet-EX 2022.9.0 update (spack#33277)

* gasnet: Add new release hash
* upcxx: Add new release hash
* gasnet: misc updates
* upcxx: misc updates

* Fix [email protected] sha (spack#33307)

* [email protected] onwards: set prefix properly (spack#33257)

* hip-set-prefix-rocm5.2.0-onwards

* Update var/spack/repos/builtin/packages/hip/package.py

Update description

Co-authored-by: Satish Balay <[email protected]>

* petsc,py-petsc4py,slepc,py-slepc4py: add version 3.18.0 (spack#32938)

* petsc,py-petsc4py,slepc,py-slepc4py: add version 3.18.0

* workaround for dealii build failure [with petsc version check]

* pism: add compatibility fix to for [email protected]

* add in hipsolver dependency

* py-libensemble: updating package for v0.9.3 (spack#33298)

* commit updating py-libensemble package for 0.9.3

* removed commented-out lines

* Add checksum for py-oauthlib 3.2.1 (spack#33201)

* Add checksum for py-oauthlib 3.2.1

* Update package.py

* [@spackbot] updating style on behalf of iarspider

* Update package.py

* Update package.py

Co-authored-by: iarspider <[email protected]>

* ninja: New version 1.11.1 (spack#33215)

* seacas: update to latest release (spack#33330)

Add checksum for latest tag/release

* gptl: new version 8.1.1; use the correct mpi fortran compiler (spack#33235)

* gptl: new version 8.1.1; use the correct `mpifc`
* add `F90` and `$F77`

* glib: add 2.74.0 and 2.72.4 (spack#33332)

* depfile: update docs (spack#33279)

* rocksdb: add 7.7.3 (spack#33341)

* Add checksum for py-seaborn 0.12.0 (spack#33145)

* Add checksum for py-seaborn 0.12.0

* Update package.py

* Update package.py

* [@spackbot] updating style on behalf of iarspider

* Update package.py

Co-authored-by: iarspider <[email protected]>

* CI: allow multiple matches to combine tags (spack#32290)

Currently "spack ci generate" chooses the first matching entry in
gitlab-ci:mappings to fill attributes for a generated build-job,
requiring that the entire configuration matrix is listed out
explicitly. This unfortunately causes significant problems in
environments with large configuration spaces, for example the
environment in spack#31598 (spack.yaml) supports 5 operating systems,
3 architectures and 130 packages with explicit size requirements,
resulting in 1300 lines of configuration YAML.

This patch adds a configuraiton option to the gitlab-ci schema called
"match_behavior"; when it is set to "merge", all matching entries
are applied in order to the final build-job, allowing a few entries
to cover an entire matrix of configurations.

The default for "match_behavior" is "first", which behaves as before
this commit (only the runner attributes of the first match are used).

In addition, match entries may now include a "remove-attributes"
configuration, which allows matches to remove tags that have been
aggregated by prior matches. This only makes sense to use with
"match_behavior:merge". You can combine "runner-attributes" with
"remove-attributes" to effectively override prior tags.

* meson: update OneAPI compiler support patch (spack#33293)

* py-tensorflow: fix zlib (spack#33349)

* py-tensorflow: fix zlib

* [@spackbot] updating style on behalf of haampie

Co-authored-by: haampie <[email protected]>

* py-meson-python: add new versions (spack#33294)

* tasmanian: disable openmp by default (spack#33345)

* octopus: upgrade to 12.1 (spack#33343)

* py-sphinx: add v5.3 and v5.2 (spack#33356)

* py-setuptools: add v65.5.0 (spack#33353)

* libblastrampoline: Add versions 5.1.1, 5.2.0 (spack#33352)

* nextflow: add v20.10.0 (spack#33354)

* sdl2: add v2.0.22 and v2.24.1 (spack#33351)

* mariadb-c-client: add 3.3.2, 3.2.7, 3.1.18, 3.0.10 (spack#33335)

* py-tensorflow-hub: zlib, again. (spack#33359)

* Add checksum for py-sniffio 1.3.0 (spack#32975)

* py-numpy: add v1.23.4 (spack#33260)

* py-jupyterlab-pygments: install from wheel to avoid cyclic dependency (spack#33278)

* py-jupyterlab-pygments: avoid cyclic dependency

* Fix style

* Update package.py

* Update package.py

* [@spackbot] updating style on behalf of iarspider

* Update package.py

* Flake-8

* fix

Co-authored-by: iarspider <[email protected]>

* installer.py: show timers for binary install (spack#33305)

Print a message of the form
```
Fetch mm:ss.  Build: mm:ss.  Total: mm:ss
```
when installing from buildcache. 

Previously this only happened for source builds.

* Add checksum for py-astroid 2.12.7, py-astroid 2.12.10, py-setuptools 62.6.0, py-wrapt 1.14.1, py-pylint 2.15.0 (spack#32976)

* Add checksum for py-astroid 2.12.7, py-setuptools 62.6.0

* Also add checksum for py-wrapt

* Update package.py

* Update package.py (spack#57)

* Update package.py

* Update package.py

* Update package.py

* gitlab ci: Do not force protected build jobs to run on aws runners (spack#33314)

* installer.py: fix/test get_deptypes (spack#33363)

Fixing an oversight in spack#32537

`get_deptypes` should depend on new `package/dependencies_cache_only`
props.

* Add checksum for py-grpcio-tools 1.48.1 (spack#33358)

* Add checksum for py-prompt-toolkit 3.0.31 (spack#33362)

Co-authored-by: Harmen Stoppels <[email protected]>
Co-authored-by: Jim Edwards <[email protected]>
Co-authored-by: iarspider <[email protected]>
Co-authored-by: Scott Wittenburg <[email protected]>
Co-authored-by: Adam J. Stewart <[email protected]>
Co-authored-by: Dan Bonachea <[email protected]>
Co-authored-by: Auriane R <[email protected]>
Co-authored-by: eugeneswalker <[email protected]>
Co-authored-by: Satish Balay <[email protected]>
Co-authored-by: John-Luke Navarro <[email protected]>
Co-authored-by: iarspider <[email protected]>
Co-authored-by: Erik Schnetter <[email protected]>
Co-authored-by: Greg Sjaardema <[email protected]>
Co-authored-by: WuK <[email protected]>
Co-authored-by: Michael Kuhn <[email protected]>
Co-authored-by: Jonathon Anderson <[email protected]>
Co-authored-by: haampie <[email protected]>
Co-authored-by: Miroslav Stoyanov <[email protected]>
Co-authored-by: Hans Fangohr <[email protected]>
Co-authored-by: Mosè Giordano <[email protected]>
Co-authored-by: Diego Alvarez <[email protected]>
Co-authored-by: Wouter Deconinck <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants