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

add explicit autoreconf step to all autotools packages #2

Merged
merged 1 commit into from
Oct 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/benvolio/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ class Benvolio(AutotoolsPackage):
#depends_on('mochi-thallium@develop', when='@develop')
#depends_on('mochi-ssg+mpi@develop', when='@develop')

# NOTE: The default autoreconf steps should work fine for this package.
# The explicit definition is just here as a workaround; Spack's
# default autoreconf step is prone to libtool version mismatch as
# of 2021/10/20.
def autoreconf(self, spec, prefix):
sh = which('sh')
sh('-c', 'autoreconf -fi')

# Require a custom configure_args if we need to build with MPI wrapper

def configure_args(self):
Expand Down
8 changes: 8 additions & 0 deletions packages/mobject/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,14 @@ class Mobject(AutotoolsPackage):

patch('0001-crude-timing-information.patch', when='+timing @:0.4.1')

# NOTE: The default autoreconf steps should work fine for this package.
# The explicit definition is just here as a workaround; Spack's
# default autoreconf step is prone to libtool version mismatch as
# of 2021/10/20.
def autoreconf(self, spec, prefix):
sh = which('sh')
sh('./prepare.sh')

def configure_args(self):
extra_args = []
if self.version < Version('0.5'):
Expand Down
8 changes: 8 additions & 0 deletions packages/mochi-abt-io/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,11 @@ class MochiAbtIo(AutotoolsPackage):
depends_on('libtool', type=("build"))
depends_on('pkgconfig', type=("build"))
depends_on('openssl', type=("build", "link", "run"))

# NOTE: The default autoreconf steps should work fine for this package.
# The explicit definition is just here as a workaround; Spack's
# default autoreconf step is prone to libtool version mismatch as
# of 2021/10/20.
def autoreconf(self, spec, prefix):
sh = which('sh')
sh('./prepare.sh')
8 changes: 8 additions & 0 deletions packages/mochi-bake/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ class MochiBake(AutotoolsPackage):
conflicts('+bedrock', when='@:0.5',
msg='+bedrock variant only available starting from 0.6')

# NOTE: The default autoreconf steps should work fine for this package.
# The explicit definition is just here as a workaround; Spack's
# default autoreconf step is prone to libtool version mismatch as
# of 2021/10/20.
def autoreconf(self, spec, prefix):
sh = which('sh')
sh('./prepare.sh')

def configure_args(self):
spec = self.spec
extra_args = []
Expand Down
7 changes: 7 additions & 0 deletions packages/mochi-ch-placement/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,10 @@ class MochiChPlacement(AutotoolsPackage):
depends_on('automake')
depends_on('libtool')

# NOTE: The default autoreconf steps should work fine for this package.
# The explicit definition is just here as a workaround; Spack's
# default autoreconf step is prone to libtool version mismatch as
# of 2021/10/20.
def autoreconf(self, spec, prefix):
sh = which('sh')
sh('./prepare')
8 changes: 8 additions & 0 deletions packages/mochi-poesie/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,14 @@ class MochiPoesie(AutotoolsPackage):
depends_on('lua', when="+lua")
depends_on('python', when="+python")

# NOTE: The default autoreconf steps should work fine for this package.
# The explicit definition is just here as a workaround; Spack's
# default autoreconf step is prone to libtool version mismatch as
# of 2021/10/20.
def autoreconf(self, spec, prefix):
sh = which('sh')
sh('./prepare.sh')

def configure_args(self):
spec = self.spec
extra_args = []
Expand Down
7 changes: 7 additions & 0 deletions packages/mochi-sdskv/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,13 @@ class MochiSdskv(AutotoolsPackage):
# (see https://github.com/google/leveldb/issues/891)
depends_on('leveldb@:1.22', when="+leveldb")

# NOTE: The default autoreconf steps should work fine for this package.
# The explicit definition is just here as a workaround; Spack's
# default autoreconf step is prone to libtool version mismatch as
# of 2021/10/20.
def autoreconf(self, spec, prefix):
sh = which('sh')
sh('./prepare.sh')

def configure_args(self):
spec = self.spec
Expand Down
8 changes: 8 additions & 0 deletions packages/mochi-ssg/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ class MochiSsg(AutotoolsPackage):
depends_on('mochi-margo@0.6:', when='@0.4.1:')
depends_on('mochi-margo@develop', when='@develop')

# NOTE: The default autoreconf steps should work fine for this package.
# The explicit definition is just here as a workaround; Spack's
# default autoreconf step is prone to libtool version mismatch as
# of 2021/10/20.
def autoreconf(self, spec, prefix):
sh = which('sh')
sh('./prepare.sh')

def configure_args(self):
spec = self.spec
extra_args = []
Expand Down