Le 20/12/2017 à 22:01, Howard Pritchard a écrit : > > I can think of several ways to fix it. Easiest would be to modify the > > opal/mca/hwloc/hwloc2a/configure.m4 > > to not set --enable-cuda if --with-cuda is evaluated to something > other than yes. > > > Optionally, I could fix the hwloc configury to use a --with-cuda > argument rather than an --enable-cuda configury argument. Would > > such a configury argument change be traumatic for the hwloc community? > > I think it would be weird to have both an --enable-cuda and a > --with-cuda configury argument for hwloc. > >
Hello hwloc currently only has --enable-foo configure options, but very few --with-foo. We rely on pkg-config and variables for setting dependency paths. OMPI seems to use --enable for enabling features, and --with for enabling dependencies and setting dependency paths. If that's the official recommended way to choose between --enable and --with, maybe hwloc should just replace many --enable-foo with --with-foo ? But I tend to think we should support both to ease the transition? Brice
_______________________________________________ devel mailing list devel@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/devel