Skip to content

Commit f6b3a19

Browse files
committed
Packaging: Update to 1.0
Signed-off-by: tldahlgren <dahlgren1@llnl.gov>
1 parent a4406d3 commit f6b3a19

13 files changed

Lines changed: 63 additions & 69 deletions

File tree

outputs/package-py-files/0.package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2-
# Spack Project Developers. See the top-level COPYRIGHT file for details.
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
32
#
43
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
54

@@ -20,6 +19,7 @@
2019
# See the Spack documentation for more information on packaging.
2120
# ----------------------------------------------------------------------------
2221

22+
from spack_repo.builtin.build_systems.autotools import AutotoolsPackage
2323
from spack.package import *
2424

2525

outputs/package-py-files/1.package.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2-
# Spack Project Developers. See the top-level COPYRIGHT file for details.
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
32
#
43
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
54

5+
from spack_repo.builtin.build_systems.autotools import AutotoolsPackage
66
from spack.package import *
77

88

outputs/package-py-files/2.package.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2-
# Spack Project Developers. See the top-level COPYRIGHT file for details.
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
32
#
43
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
54

outputs/package-py-files/3.package.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2-
# Spack Project Developers. See the top-level COPYRIGHT file for details.
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
32
#
43
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
54

outputs/package-py-files/4.package.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2-
# Spack Project Developers. See the top-level COPYRIGHT file for details.
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
32
#
43
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
54

outputs/package-py-files/5.package.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2-
# Spack Project Developers. See the top-level COPYRIGHT file for details.
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
32
#
43
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
54

outputs/package-py-files/6.package.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
2-
# Spack Project Developers. See the top-level COPYRIGHT file for details.
1+
# Copyright Spack Project Developers. See COPYRIGHT file for details.
32
#
43
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
54

outputs/packaging/create.out

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
$ spack create --name tutorial-mpileaks https://github.com/LLNL/mpileaks/archive/refs/tags/v1.0.tar.gz
22
==> Using specified package name: 'tutorial-mpileaks'
33
==> Fetching https://github.com/LLNL/mpileaks/archive/refs/tags/v1.0.tar.gz
4+
[100%] 339.70 KB @ 4.2 MB/s
45
==> This package looks like it uses the autoreconf build system
56
==> Created template for tutorial-mpileaks package
6-
==> Created package file: /home/spack5/spack/var/spack/repos/tutorial/packages/tutorial-mpileaks/package.py
7+
==> Created package file: /home/spack/repos/spack_repo/tutorial/packages/tutorial_mpileaks/package.py
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
1-
$ spack info tutorial-mpileaks
21
AutotoolsPackage: tutorial-mpileaks
32

43
Description:
5-
Tool to detect and report MPI objects like MPI_Requests and
4+
Tool to detect and report leaked MPI objects like MPI_Requests and
65
MPI_Datatypes.
76

87
Homepage: https://github.com/LLNL/mpileaks
98

109
Preferred version:
11-
1.0 https://github.com/LLNL/mpileaks/archive/refs/tags/v1.0.tar.gz
10+
1.0 https://github.com/LLNL/mpileaks/archive/refs/tags/v1.0.tar.gz
1211

1312
Safe versions:
14-
1.0 https://github.com/LLNL/mpileaks/archive/refs/tags/v1.0.tar.gz
13+
1.0 https://github.com/LLNL/mpileaks/archive/refs/tags/v1.0.tar.gz
1514

1615
Deprecated versions:
1716
None
1817

1918
Variants:
20-
build_system [autotools] autotools
21-
Build systems supported by the package
19+
build_system [autotools] autotools
20+
Build systems supported by the package
2221

2322
Build Dependencies:
24-
autoconf automake gmake gnuconfig libtool m4
23+
autoconf automake c cxx fortran gmake gnuconfig libtool m4
2524

2625
Link Dependencies:
2726
None
@@ -31,4 +30,3 @@ Run Dependencies:
3130

3231
Licenses:
3332
BSD
34-

outputs/packaging/repo-add.out

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
1-
$ spack repo add $SPACK_ROOT/var/spack/repos/tutorial/
2-
==> Added repo with namespace 'tutorial'.
1+
$ mkdir repos
2+
$ spack repo create repos tutorial
3+
==> Created repo with namespace 'tutorial'.
4+
==> To register it with spack, run this command:
5+
spack repo add /home/spack/repos/spack_repo/tutorial
6+
$ spack repo add /home/spack/repos/spack_repo/tutorial
7+
==> Added repo to config with name 'tutorial'.

0 commit comments

Comments
 (0)