Merge pull request #85156 from DieGoldeneEnte/boost-check

boost: check clang version
This commit is contained in:
Jörg Thalheim 2020-04-13 19:56:38 +01:00 committed by GitHub
commit 2d9888f61c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,9 @@ assert enableShared || enableStatic;
assert enablePython -> stdenv.hostPlatform == stdenv.buildPlatform;
assert enableNumpy -> enablePython;
# Boost <1.69 can't be build with clang >8, because pth was removed
assert with stdenv.lib; ((toolset == "clang" && !(versionOlder stdenv.cc.version "8.0.0")) -> !(versionOlder version "1.69"));
with stdenv.lib;
let