Skip to content

Package Manager: Spack#1041

Merged
nlohmann merged 1 commit into
nlohmann:developfrom
ax3l:topic-spack
Apr 8, 2018
Merged

Package Manager: Spack#1041
nlohmann merged 1 commit into
nlohmann:developfrom
ax3l:topic-spack

Conversation

@ax3l

@ax3l ax3l commented Apr 7, 2018

Copy link
Copy Markdown
Contributor

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

coveralls commented Apr 7, 2018

Copy link
Copy Markdown

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.
@nlohmann nlohmann self-assigned this Apr 8, 2018

@nlohmann nlohmann left a comment

Copy link
Copy Markdown
Owner

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

nlohmann commented Apr 8, 2018

Copy link
Copy Markdown
Owner

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