Gtkorvo updates (#8663)

* gtkorvo-atl: Updated to version 2.2

* gtkorvo-dill: Updated to version 2.4

* gtkorvo-enet: Updated to version 1.3.14

* libevpath: Updated to version 4.4.0

* libffs: Updated to version 1.5

* gtkorvo-atl: Bugfix: Fixed cmake args

* gtkorvo-enet: Switched order of versions to have the latest version on the top

* gtkorvo-atl: Cleaned up cmake_args. Added conditional self.run_tests

* gtkorvo-dill: Cleaned up cmake_args. Added conditional self.run_tests

* libffs: Correction in dependency versions. Cleaned up cmake_args. Added conditional self.run_tests

* libevpath: Correction in dependency versions. Cleaned up cmake_args. Added conditional self.run_tests

* gtkorvo-atl: Removed unused option from cmake args
This commit is contained in:
Kshitij Mehta
2018-07-10 13:50:10 -04:00
committed by Adam J. Stewart
parent 90042749e8
commit 3c4ef576d9
5 changed files with 57 additions and 9 deletions

View File

@@ -36,8 +36,19 @@ class GtkorvoDill(CMakePackage):
version('develop', git='https://github.com/GTkorvo/dill.git',
branch='master')
version('2.4', '6836673b24f395eaae044b8bb976511d')
version('2.1', '14c835e79b66c9acd2beee01d56e6200')
def cmake_args(self):
args = ["-DENABLE_TESTING=0", "-DBUILD_SHARED_STATIC=STATIC"]
args = []
if self.spec.satisfies('@2.4:'):
args.append("-DBUILD_SHARED_LIBS=OFF")
else:
args.append("-DENABLE_BUILD_STATIC=STATIC")
if self.run_tests:
args.append('-DENABLE_TESTING=1')
else:
args.append('-DENABLE_TESTING=0')
return args