diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-04-15 13:56:45 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-04-15 14:13:35 +0530 |
commit | 6cdd14fc4eca8bddd4716ab5a9ebf09476846e6b (patch) | |
tree | 43842b6fb6f1aad526886d7678aa701ba229683f /mesonbuild/modules/unstable_icestorm.py | |
parent | 0e6a332d0cf8538c5f62a3def646c477c0d772b5 (diff) | |
download | meson-6cdd14fc4eca8bddd4716ab5a9ebf09476846e6b.zip meson-6cdd14fc4eca8bddd4716ab5a9ebf09476846e6b.tar.gz meson-6cdd14fc4eca8bddd4716ab5a9ebf09476846e6b.tar.bz2 |
find_program: Don't spam when called from a module
The user doesn't need to know whether or not the program was found,
especially not when it's spammed for every gnome.foo() function
Diffstat (limited to 'mesonbuild/modules/unstable_icestorm.py')
-rw-r--r-- | mesonbuild/modules/unstable_icestorm.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mesonbuild/modules/unstable_icestorm.py b/mesonbuild/modules/unstable_icestorm.py index 9af5325..55c647f 100644 --- a/mesonbuild/modules/unstable_icestorm.py +++ b/mesonbuild/modules/unstable_icestorm.py @@ -24,11 +24,11 @@ class IceStormModule(ExtensionModule): self.yosys_bin = None def detect_binaries(self, interpreter): - self.yosys_bin = interpreter.func_find_program(None, ['yosys'], {}) - self.arachne_bin = interpreter.func_find_program(None, ['arachne-pnr'], {}) - self.icepack_bin = interpreter.func_find_program(None, ['icepack'], {}) - self.iceprog_bin = interpreter.func_find_program(None, ['iceprog'], {}) - self.icetime_bin = interpreter.func_find_program(None, ['icetime'], {}) + self.yosys_bin = interpreter.find_program_impl(['yosys']) + self.arachne_bin = interpreter.find_program_impl(['arachne-pnr']) + self.icepack_bin = interpreter.find_program_impl(['icepack']) + self.iceprog_bin = interpreter.find_program_impl(['iceprog']) + self.icetime_bin = interpreter.find_program_impl(['icetime']) def project(self, interpreter, state, args, kwargs): if not self.yosys_bin: |