luceneplusplus / LucenePlusPlus

Lucene++ is an up to date C++ port of the popular Java Lucene library, a high-performance, full-featured text search engine.
luceneplusplus@googlegroups.com
Other
738 stars 232 forks source link

Usage of `-fno-pch-timestamp` breaks clang builds on macOS 10.7–10.11 #205

Open barracuda156 opened 1 month ago

barracuda156 commented 1 month ago

Build log: https://build.macports.org/builders/ports-10.11_x86_64-builder/builds/271191/steps/install-port/logs/stdio

The problem is created by this chunk of code: https://github.com/luceneplusplus/LucenePlusPlus/blob/76dc90f2b65d81be018c499714ff11e121ba5585/cmake/cotire.cmake#L1673-L1694

Apparently Clang version threshold is wrong.