aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/boost.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-05-02 14:54:02 -0700
committerGitHub <noreply@github.com>2019-05-02 14:54:02 -0700
commitc0aa89e57ff5a92c1a1e2cf542692f54622d8cd2 (patch)
treefebe385c372b2a1009be83be16528a892df60de5 /mesonbuild/dependencies/boost.py
parentae9a6417fe8158573801e10b84906931facb8112 (diff)
parentc61ae46461bf9f4c7afef2381032ac0cb2d26043 (diff)
downloadmeson-c0aa89e57ff5a92c1a1e2cf542692f54622d8cd2.zip
meson-c0aa89e57ff5a92c1a1e2cf542692f54622d8cd2.tar.gz
meson-c0aa89e57ff5a92c1a1e2cf542692f54622d8cd2.tar.bz2
Merge pull request #4952 from mensinda/cacheCompiles
Cache compilers.compile() in coredata
Diffstat (limited to 'mesonbuild/dependencies/boost.py')
-rw-r--r--mesonbuild/dependencies/boost.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/dependencies/boost.py b/mesonbuild/dependencies/boost.py
index 381824c..f5b95f5 100644
--- a/mesonbuild/dependencies/boost.py
+++ b/mesonbuild/dependencies/boost.py
@@ -250,7 +250,7 @@ class BoostDependency(ExternalDependency):
def detect_headers_and_version(self):
try:
- version = self.clib_compiler.get_define('BOOST_LIB_VERSION', '#include <boost/version.hpp>', self.env, self.get_compile_args(), [])
+ version = self.clib_compiler.get_define('BOOST_LIB_VERSION', '#include <boost/version.hpp>', self.env, self.get_compile_args(), [], disable_cache=True)[0]
except mesonlib.EnvironmentException:
return
except TypeError: