mlir/ods-gen: use bash from env in shell script
authorRamkumar Ramachandra <r@artagnon.com>
Tue, 13 Dec 2022 16:27:50 +0000 (17:27 +0100)
committerRamkumar Ramachandra <r@artagnon.com>
Wed, 14 Dec 2022 11:28:07 +0000 (12:28 +0100)
commitbcd6528554281d249ec66e0b9f94b7a1a9df7868
tree076ee13e6c0b800b9accf5a8e4a5694c198667c8
parent9983d213a9c67f4f92f01247414c9c828400f90b
mlir/ods-gen: use bash from env in shell script

On macOS, hardcoding the path of bash leads to a failure in executing
update_core_linalg_named_ops.sh, due to an old version of bash being
present in that location.

Signed-off-by: Ramkumar Ramachandra <r@artagnon.com>
Differential Revision: https://reviews.llvm.org/D139942
mlir/tools/mlir-linalg-ods-gen/update_core_linalg_named_ops.sh.in