summaryrefslogtreecommitdiff
path: root/src/third_party
diff options
context:
space:
mode:
authorMathew Robinson <mathew.robinson@mongodb.com>2019-11-19 17:19:15 +0000
committerevergreen <evergreen@mongodb.com>2019-11-19 17:19:15 +0000
commit542479adb86d90e80ce4faed167e6848d4107adf (patch)
treeea987930627840bba92d11b342775d167b7b02f9 /src/third_party
parent80d1587acb9e445cad81848a0c4b90f01bb9e00a (diff)
downloadmongo-542479adb86d90e80ce4faed167e6848d4107adf.tar.gz
SERVER-42408 Ensure hygienic builds work with Ninja
Diffstat (limited to 'src/third_party')
-rw-r--r--src/third_party/IntelRDFPMathLib20U1/SConscript14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/third_party/IntelRDFPMathLib20U1/SConscript b/src/third_party/IntelRDFPMathLib20U1/SConscript
index f23c071c6d2..a0e7482a0c0 100644
--- a/src/third_party/IntelRDFPMathLib20U1/SConscript
+++ b/src/third_party/IntelRDFPMathLib20U1/SConscript
@@ -355,6 +355,9 @@ env.Library(
]
)
+if env["BUILDERS"].get("Ninja", None) is not None:
+ Return()
+
readtest = env.Program(
target='intel_decimal128_readtest',
source=[
@@ -367,9 +370,10 @@ readtest = env.Program(
)
readtest_input = env.Install(
- '.',
+ target='.',
source=['TESTS/readtest.in'],
)
+env.Depends(readtest_input, readtest)
readtest_dict = {
'@readtest_python_interpreter@' : sys.executable.replace('\\', r'\\'),
@@ -378,14 +382,16 @@ readtest_dict = {
}
readtest_wrapper = env.Substfile(
- 'intel_decimal128_readtest_wrapper.py.in',
+ target='intel_decimal128_readtest_wrapper.py',
+ source=['intel_decimal128_readtest_wrapper.py.in'],
SUBST_DICT=readtest_dict,
)
-env.Depends(readtest_wrapper, [readtest, readtest_input])
+env.Depends(readtest_wrapper, readtest_input)
if env.TargetOSIs('windows'):
readtest_wrapper_bat = env.Substfile(
- 'intel_decimal128_readtest_wrapper.bat.in',
+ target='intel_decimal128_readtest_wrapper.bat',
+ source=['intel_decimal128_readtest_wrapper.bat.in'],
SUBST_DICT=readtest_dict,
)
env.Depends(readtest_wrapper_bat, readtest_wrapper)