Skip to content

NetCDF-c: Ensure plugin path is posix#4293

Merged
tgamblin merged 2 commits into
spack:developfrom
johnwparent:fixup-netcdf-plugin-prefix-path
May 28, 2026
Merged

NetCDF-c: Ensure plugin path is posix#4293
tgamblin merged 2 commits into
spack:developfrom
johnwparent:fixup-netcdf-plugin-prefix-path

Conversation

@johnwparent
Copy link
Copy Markdown
Contributor

Otherwise CMake will choke on a Windows escape character if based in the C: drive

Fixes some CI failures holding up other PRs on Windows

Otherwise CMake will choke on a Windows escape character if based in the C: drive

Signed-off-by: John Parent <john.parent@kitware.com>
@johnwparent
Copy link
Copy Markdown
Contributor Author

@spackbot fix style

@spackbot-app
Copy link
Copy Markdown

spackbot-app Bot commented Apr 14, 2026

Let me see if I can fix that for you!

@spackbot-app
Copy link
Copy Markdown

spackbot-app Bot commented Apr 14, 2026

I was able to run spack style --fix for you!

spack style --fix
repos/spack_repo/builtin/packages/netcdf_c/package.py
�[1;34m==> �[0mrunning flake8
repos/spack_repo/builtin/packages/netcdf_c/package.py:405: [E501] line too long (104 > 99 characters)
repos/spack_repo/builtin/packages/netcdf_c/package.py:409: [E501] line too long (115 > 99 characters)
�[1;34m==> �[0mrunning isort
�[1;34m==> �[0mrunning black
Keep in mind that I cannot fix your flake8 or mypy errors, so if you have any you'll need to fix them and update the pull request. If I was able to push to your branch, if you make further changes you will need to pull from your updated branch before pushing again.

I've updated the branch with style fixes.

Copy link
Copy Markdown
Contributor

@climbfuji climbfuji left a comment

Choose a reason for hiding this comment

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

Seems to fix the Windows CI error I've been seeing in #2384

@johnwparent
Copy link
Copy Markdown
Contributor Author

johnwparent commented May 27, 2026

Finally was able to determine the failure cause:
fatal error C1060: compiler is out of heap space 😬
Explains the rapid crash with no reporting.

@johnwparent
Copy link
Copy Markdown
Contributor Author

Let's see if we maybe just caught the nodes at a bad moment

@johnwparent
Copy link
Copy Markdown
Contributor Author

@spackbot rerun pipeline

@spackbot-app
Copy link
Copy Markdown

spackbot-app Bot commented May 27, 2026

I've started that pipeline for you!

@johnwparent
Copy link
Copy Markdown
Contributor Author

@climbfuji sorry for the delay, finally got a reproduction, my goal is to have both our PRs in for the upcoming packages release.

@climbfuji
Copy link
Copy Markdown
Contributor

@climbfuji sorry for the delay, finally got a reproduction, my goal is to have both our PRs in for the upcoming packages release.

That's awesome, thanks!

@johnwparent
Copy link
Copy Markdown
Contributor Author

Green CI, lets get this in

@tgamblin tgamblin merged commit 6cfb4a4 into spack:develop May 28, 2026
17 checks passed
@johnwparent
Copy link
Copy Markdown
Contributor Author

Thanks @tgamblin !

thomas-bouvier pushed a commit to thomas-bouvier/spack-packages that referenced this pull request May 30, 2026
Otherwise CMake will choke on a Windows escape character if based in the C: drive

---------

Signed-off-by: John Parent <john.parent@kitware.com>
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.

3 participants