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

Package Manager: Spack #1041

Merged
merged 1 commit into from
Apr 8, 2018
Merged

Package Manager: Spack #1041

merged 1 commit into from
Apr 8, 2018

Conversation

ax3l
Copy link
Contributor

@ax3l ax3l commented Apr 7, 2018

I contributed a package to the Spack package manager.

Spack is a flexible package manager that supports multiple versions, configurations, platforms, and compilers. It is popular in high-performance computing.

Usage

CLI

spack install nlohmann-json
spack load    nlohmann-json
#             |-- "spec" -|
Variant: add to spec Description
+test/~test Build tests
+single_header / ~single_header Use amalgamated single-header

Example with a variant:

spack install nlohmann-json ~test ~single_header
#             |------------ "spec" ------------|

Example with a variant of a specific version with a specific compiler:

spack install nlohmann-json@3.1.2 ~test %clang
#             |----------- "spec" -----------|

Depending on the Library

from spack import *


class MyProject(CMakePackage):
    # ...
    depends_on('nlohmann-json')

To Do

@coveralls
Copy link

coveralls commented Apr 7, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 1ae9896 on ax3l:topic-spack into 83b1433 on nlohmann:develop.

I contributed a package to the Spack package manager.

Spack is a flexible package manager that supports multiple versions,
configurations, platforms, and compilers. It is popular in
high-performance computing.
Copy link
Owner

@nlohmann nlohmann left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@nlohmann nlohmann merged commit acf10d9 into nlohmann:develop Apr 8, 2018
@nlohmann
Copy link
Owner

nlohmann commented Apr 8, 2018

Thanks!

@ax3l ax3l deleted the topic-spack branch April 9, 2018 07:55
@nlohmann nlohmann added this to the Release 3.2.0 milestone Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants