nak/algebraic: merge run and main function

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26999>
This commit is contained in:
Karol Herbst 2024-01-11 09:57:47 +01:00 committed by Marge Bot
parent 465e26dd98
commit 15785a9bfe

View file

@ -43,10 +43,7 @@ def main():
parser.add_argument('-p', '--import-path', required=True)
args = parser.parse_args()
sys.path.insert(0, args.import_path)
run()
def run():
import nir_algebraic # pylint: disable=import-error
print('#include "nak_private.h"')