Skip to content

Commit c3864d3

Browse files
committed
Add explicit CMakePackage import to Spack package
- Import CMakePackage from spack.build_systems.cmake - CMakePackage not included in 'from spack.package import *' - Fixes 'name CMakePackage is not defined' error in CI
1 parent 05c6c4a commit c3864d3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packaging/spack/package.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
55

66
from spack.package import *
7+
from spack.build_systems.cmake import CMakePackage
78

89

910
class Mfc(CMakePackage):

0 commit comments

Comments
 (0)