Skip to content
Snippets Groups Projects
Select Git revision
5 results Searching

libclc

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    Aaron Puchert authored
    The script's shebang wants Python 3, so we use FindPython3. The
    original code didn't work when an unversioned python was not available.
    This is explicitly allowed in PEP 394. ("Distributors may choose to set
    the behavior of the python command as follows: python2, python3, not
    provide python command, allow python to be configurable by an end user
    or a system administrator.")
    
    Also I think it's actually required, so let the configuration fail if we
    can't find it.
    
    Lastly remove the shebang, since the script is only run via interpreter
    and doesn't have the executable bit set anyway.
    
    Reviewed By: jvesely
    
    Differential Revision: https://reviews.llvm.org/D88366
    1c1a8105
    History
    Name Last commit Last update
    ..