add "configure" script
A configure script for PaRSEC
This is a proposal. I'll start working on this only if some interest is shown.
Problem
The configure scripts in contrib
are hackish.
On the other hand, configuring a CMake projects is not user friendly.
Proposed solution
Addition of a configure script, that takes --with-hwloc=DIR
type of options and --enable-feature
, so that it feels like an autoconf configure.
The script will do no detection of software, but only translate "configure like" options into -DCMAKE_WITH_FEATURE
arguments to the cmake call.
Refinements ##
- The script will produce a
config.log
andconfig.status
so that one can reconfigure with the same options and still blow up the CMake cache. - The script will take as input "platform" files, like Open MPI. The existing
contrib/config.titan
will become platform files, with a bunch of assignments, rather than direct callable scripts.
Comments (4)
-
-
@abouteiller any progress on this ?
-
reporter I did an initial study about using autoconf to create a stub but it spiraled out of control. The complexity was not worth the feature.
I'll revive a more realistic effort using getopt to set default values for --with-xxx and --disable-yyy that will set some values for the cmake invocation.
-
- changed status to resolved
Commit 38f36469 solved this issue.
- Log in to comment
Sounds interesting. :+1: