graphviz: Simplify package and add quartz support#11128
graphviz: Simplify package and add quartz support#11128scheibelp merged 3 commits intospack:developfrom
Conversation
I disagree with this. If the package COULD do it; but Spack does not YET do it, then I think it's better to leave the code in the Spack package but comment it out. Less work for someone in the future; and it also indicates we already have a plan (that can be followed) when/if people DO get these new bindings working. This looks like a lot of macOS stuff. But it's a bit complicated. My question is: how does this PR affect things not macOS? If we can show it ONLY changes things on macOS, then that will make it MUCH easier to approve and merge. |
|
Thanks for the quick review! There should be no visible changes for non-macOS systems. "Invisible" changes are:
The two new patches only apply to macOS systems. I'll restore the other languages, but I feel like the extra variants in the output are unwanted noise ( |
|
I’m fine with restoring the variants as commented out text. I just don’t
want them removed entirely from the package source.
…On Tue, Apr 9, 2019 at 08:33 Seth R. Johnson ***@***.***> wrote:
Thanks for the quick review!
There should be no visible changes for non-macOS systems. "Invisible"
changes are:
- The --disable-silent-rules configure flag gets added to make the
build verbose. (I've seen other packages do similar things, so I'm assuming
this is pretty standard spack practice.)
- The QT version is restricted to 4; building with a newer version
would silently skip QT support.
- The X11 variant is now exposed, though I haven't tested it on my
system.
The two new patches only apply to macOS systems. I'll restore the other
languages, but I feel like the extra variants in the output are unwanted
noise (graphviz~lua~python~sharp~...), and that as a general principle
it's better to simplify code and expand when there's a new use case, rather
than to add complexity at the beginning in case someone someday might want
to use the functionality.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
<#11128 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB1cd7JMag2wwmj_O6AkXRUz7XEMiWgfks5vfIijgaJpZM4cipj0>
.
|
- Explicitly require QT4 - Require libx11 when building against X windows
- X11 error no longer happens, and `/opt/X11` isn't guaranteed to exist - Remove language bindings that simply emit spack errors - Add quartz variant - Fix building with clang (libc++ vs libstdc++)
These changes are purely superficial.
|
Rebased on upstream/develop, incorporated changes and clarified commit messages. @scheibelp can you please take a look again? |
|
Thanks! |
…upsream_develop * commit 'f7026a058b63f5a3109691e2c3871ee77c08f756': (1881 commits) Version 19.8.1 of PLASMA (spack#12299) new package: py-exodus (spack#12291) ncurses: fix pic and opt flags (spack#12272) pumi: new version 2.2.1 (spack#12282) tests: explain and test dependency flattening routines (spack#11993) graphviz package: add MacOS fixes and quartz support (spack#11128) Overhaul numpy package (spack#12170) mirrors: mirror config should use spack variable expansions (spack#9027) stacks: fix reference handling in env.write() (spack#12096) fltk: fix about variable types (spack#12292) Avoid sending empty reports to codecov (spack#12293) Packages/musl (spack#12288) c-blosc package: Add -std=gnu99 flag for gcc (spack#11959) Move new packages from tutorial to builtin (spack#12289) Balay/amrex 19.08 (spack#12287) openPMD-api: pre-load depend libs (spack#12279) Add version 19.8.0 of PLASMA (spack#12275) Add version 2.5.1 of MAGMA released today (spack#12274) ginkgo: add maintainers (spack#12273) new package: py-backports-tempfile (spack#12261) ... # Conflicts: # .travis.yml # var/spack/repos/builtin/packages/moab/package.py # var/spack/repos/builtin/packages/mofem-cephas/package.py # var/spack/repos/builtin/packages/mofem-fracture-module/package.py # var/spack/repos/builtin/packages/mofem-users-modules/package.py # var/spack/repos/builtin/packages/petsc/package.py
* Add patch to detect newer versions of MacOS and to fix a typo in configure.ac (AM_LIBTOOLSFLAGS should be AM_LIBTOOLFLAGS) * Remove variant declarations for unsupported languages * Add support for quartz on MacOS * Add optional X Window support * Specifically build against qt@4 when building QT support * Point to appropriate C++ standard libraries when building with Clang on MacOS * Disable parallel build (for all platforms) * Increase verbosity of configure script by adding --disable-silent-rules
/opt/X11isn't guaranteed to exist