Skip to content

fabtests: new package#7837

Merged
adamjstewart merged 4 commits intospack:developfrom
ResearchIT:fabtests
Apr 25, 2018
Merged

fabtests: new package#7837
adamjstewart merged 4 commits intospack:developfrom
ResearchIT:fabtests

Conversation

@baberlevi
Copy link
Copy Markdown
Member

breaking up #6978

version('1.6.0', '0441aa0aeda391b1bf1eb71250a4afbc')
version('1.5.3', 'f60cb95843ebf62e4eaa128e08ccdc7d')

depends_on('autoconf', type='build')
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

these should be part of the AutoToolsPackage

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

They seem required (test below with them removed):

==> Executing phase: 'autoreconf'
==> Error: RuntimeError: Cannot generate configure: missing dependencies ['m4', 'autoconf', 'automake', 'libtool']
RuntimeError: RuntimeError: Cannot generate configure: missing dependencies ['m4', 'autoconf', 'automake', 'libtool']

/home/user/spack/lib/spack/spack/build_systems/autotools.py:200, in autoreconf:
     7             missing = [x for x in autotools if x not in spec]
     8             if missing:
     9                 msg = 'Cannot generate configure: missing dependencies {0}'
  >> 10                raise RuntimeError(msg.format(missing))
     11            tty.msg('Configure script not found: trying to generate it')
     12            tty.warn('*********************************************************')
     13            tty.warn('* If the default procedure fails, consider implementing *')

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Mh okay then I don't know enough about Autotools to review this.. Sorry for the confusion.

@baberlevi
Copy link
Copy Markdown
Member Author

fixing some other issues that I found while testing the depenencies - another commit coming shortly

Copy link
Copy Markdown
Contributor

@healther healther left a comment

Choose a reason for hiding this comment

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

removing my change request

@healther healther dismissed their stale review April 20, 2018 13:52

request wasn't factual

"""Fabtests provides a set of examples that uses libfabric"""

homepage = "http://libfabric.org"
url = "https://github.com/ofiwg/fabtests/archive/v1.5.3.tar.gz"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If you download from https://github.com/ofiwg/fabtests/releases/download/v1.5.3/fabtests-1.5.3.tar.gz instead of https://github.com/ofiwg/fabtests/archive/v1.5.3.tar.gz you can drop all of the Autotools dependencies. GitHub usually creates a source tarball with each release, and developers have the option of uploading their own tarball that contains generated files like configure. This way, the package has fewer dependencies and can be installed more quickly.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Changed, reinstalled - confirmed working without the extra autotools deps

url = "https://github.com/ofiwg/fabtests/archive/v1.5.3.tar.gz"

version('1.6.0', 'ac4808d11103fd29fc738bc2bfd919de')
version('1.5.3', 'a80b4741f5885a97983259d045f9865c')
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you remove these extra spaces?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

done

@adamjstewart adamjstewart merged commit 0d5dd96 into spack:develop Apr 25, 2018
@baberlevi baberlevi deleted the fabtests branch April 27, 2018 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants