# IT4Innovations 2020 # LK name = 'CGAL' version = '4.11.1' homepage = 'http://www.cgal.org/' description = """The goal of the CGAL Open Source Project is to provide easy access to efficient and reliable geometric algorithms in the form of a C++ library.""" toolchain = {'name': 'intel', 'version': '2020a'} toolchainopts = {'strict': True} source_urls = ['https://github.com/CGAL/cgal/releases/download/releases%2FCGAL-%(version)s'] sources = [SOURCE_TAR_XZ] dependencies = [ ('zlib', '1.2.11', '', True), ('Boost', '1.72.0', '-Py-3.7'), ('MPFR', '4.0.1', '' , True), ('GMP', '6.1.2', '', True), ('Mesa', '19.2.1', '', ('GCCcore', '8.3.0')), ('libGLU', '9.0.1', '-Mesa-19.2.1', ('GCCcore', '8.3.0')), ('Qt5', '5.13.1', '', ('GCCcore', '8.3.0')), ] builddependencies = [ ('CMake', '3.16.2', '', True), ('Eigen', '3.3.7', '', True), ] configopts = "-DOPENGL_INCLUDE_DIR=$EBROOTMESA/include\;$EBROOTLIBGLU/include " configopts += "-DOPENGL_gl_LIBRARY=$EBROOTMESA/lib/libGL.%s " % SHLIB_EXT configopts += "-DOPENGL_glu_LIBRARY=$EBROOTLIBGLU/lib/libGLU.%s " % SHLIB_EXT configopts += "-DWITH_ZLIB=ON -DWITH_MPFR=ON -DWITH_OpenGL=ON -DWITH_Eigen3=ON " configopts += "-DWITH_GMPXX=ON -DWITH_LAPACK=ON -DWITH_BLAS=ON " moduleclass = 'numlib'