Skip to content
Snippets Groups Projects
Commit 459c647b authored by Denis Davydov's avatar Denis Davydov
Browse files

doxygen: add graphviz variant; enable flex and bison on OSX and they build fine

parent a045154b
No related branches found
No related tags found
No related merge requests found
...@@ -22,10 +22,6 @@ ...@@ -22,10 +22,6 @@
# License along with this program; if not, write to the Free Software # License along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
############################################################################## ##############################################################################
# Author: Justin Too <justin@doubleotoo.com>
# Date: September 11, 2015
from spack import * from spack import *
import sys import sys
...@@ -43,10 +39,15 @@ class Doxygen(Package): ...@@ -43,10 +39,15 @@ class Doxygen(Package):
version('1.8.11', 'f4697a444feaed739cfa2f0644abc19b') version('1.8.11', 'f4697a444feaed739cfa2f0644abc19b')
version('1.8.10', '79767ccd986f12a0f949015efb5f058f') version('1.8.10', '79767ccd986f12a0f949015efb5f058f')
# graphviz appears to be a run-time optional dependency
variant('graphviz', default=True, description='Build with dot command support from Graphviz.')
depends_on("cmake@2.8.12:") depends_on("cmake@2.8.12:")
# flex does not build on OSX, but it's provided there anyway depends_on("flex")
depends_on("flex", sys.platform != 'darwin') depends_on("bison")
depends_on("bison", sys.platform != 'darwin')
#optional dependencies
depends_on("graphviz", when="+graphviz")
def install(self, spec, prefix): def install(self, spec, prefix):
cmake('.', *std_cmake_args) cmake('.', *std_cmake_args)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment