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

logic error in spack platform detection logic #57

Closed
cyrush opened this issue Mar 24, 2021 · 0 comments · Fixed by #58
Closed

logic error in spack platform detection logic #57

cyrush opened this issue Mar 24, 2021 · 0 comments · Fixed by #58
Labels
bug Something isn't working

Comments

@cyrush
Copy link
Member

cyrush commented Mar 24, 2021

right now, if you aren't running on LC (SYS_TYPE env set) or macos (darwin) you will get the error message:

[ERROR: Given path for 'spack_configs_path' does not contain platform directories: ...]

The logic here is wrong:

else:

if platform is None, logic should simply skip trying to find the defaults for that platform.

(I hit this in a docker container)

@cyrush cyrush added the bug Something isn't working label Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant