Update flex package url's and versions#2384
Conversation
The old sourceforge page for flex is now defunct. While version 2.6.0 still downloads fine, later versions are no longer hosted there. Development continues on github. I've adjusted urls to point to this new location. In addition, from 2.6.0 onwards, a new naming scheme for releases seems to have been adopted. I've created a url_for_version function to sort this out.
|
Looks good! Can you move your class Flex(Package):with class Flex(AutotoolsPackage):you should be able to get rid of the |
|
I've done this, but I'm getting the following error from the AutotoolsPackage: |
Also move the url_for_version function to the end of the package definition.
strange. @alalazo any clues? |
|
@davydden I'll try to have a look asap |
|
The problem is that the latest tarball doesn't have a |
|
@adamjstewart Well, in that case the error message is right: Error: RuntimeError: configure script not found in /tmp/matthew/spack-stage/spack-stage-LxdPUJ/flex-2.6.2@krafczyk see |
|
@alalzo I've implemented the necessary changes and now flex builds properly. I'm a bit confused however why the |
|
@krafczyk The problem is adding on the fly build dependencies if depends_on('autotools', type='build')When we merged build system support the consensus was on minimizing dependencies over providing automation for this case. An alternative would be to have autotools dependency coded in |
|
@citibeth has also proposed always running |
| ############################################################################## | ||
| from spack import * | ||
|
|
||
|
|
There was a problem hiding this comment.
The Flake8 tests are crashing because you deleted this empty line. There should be 2 blank lines after an import statement.
There was a problem hiding this comment.
I've changed the previous commit to correct this. 883d5c5 is now the most recent commit.
88ec407 to
883d5c5
Compare
* Update flex package url's and versions The old sourceforge page for flex is now defunct. While version 2.6.0 still downloads fine, later versions are no longer hosted there. Development continues on github. I've adjusted urls to point to this new location. In addition, from 2.6.0 onwards, a new naming scheme for releases seems to have been adopted. I've created a url_for_version function to sort this out. * Change flex to an AutotoolsPackage Also move the url_for_version function to the end of the package definition. * Implement the autoreconf function for flex
The old sourceforge page for flex is now defunct. While version 2.6.0
still downloads fine, later versions are no longer hosted there.
Development continues on github. I've adjusted urls to point to this
new location.
In addition, from 2.6.0 onwards, a new naming scheme for releases seems
to have been adopted. I've created a url_for_version function to sort
this out.