Skip to content

Commit

Permalink
Don't display the fallback warning when --shell-launchers is specif…
Browse files Browse the repository at this point in the history
…ied.
  • Loading branch information
sangaline committed Mar 5, 2018
1 parent b2fc939 commit 38a511b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/exodus_bundler/bundling.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,11 @@ def create_launcher(self, working_directory, bundle_root, linker_basename, symli
with open(source_path, 'wb') as f:
f.write(launcher_content)
except CompilerNotFoundError:
logger.warn((
'Installing either the musl or diet C libraries will result in more efficient '
'launchers (currently using bash fallbacks instead).'
))
if not shell_launcher:
logger.warn((
'Installing either the musl or diet C libraries will result in more efficient '
'launchers (currently using bash fallbacks instead).'
))
launcher_content = construct_bash_launcher(
linker=linker, library_path=library_path, executable=executable)
with open(source_path, 'w') as f:
Expand Down

0 comments on commit 38a511b

Please sign in to comment.