Fix script relative path after moving SPIR-V dialect

PiperOrigin-RevId: 258786729
This commit is contained in:
Lei Zhang 2019-07-18 09:35:36 -07:00 committed by Mehdi Amini
parent 9f498f921b
commit e9c42e3552
3 changed files with 3 additions and 3 deletions

View File

@ -32,5 +32,5 @@ current_file="$(readlink -f "$0")"
current_dir="$(dirname "$current_file")"
python3 ${current_dir}/gen_spirv_dialect.py \
--base-td-path ${current_dir}/../../include/mlir/SPIRV/SPIRVBase.td \
--base-td-path ${current_dir}/../../include/mlir/Dialect/SPIRV/SPIRVBase.td \
--new-enum "${new_enum}"

View File

@ -32,5 +32,5 @@ current_file="$(readlink -f "$0")"
current_dir="$(dirname "$current_file")"
python3 ${current_dir}/gen_spirv_dialect.py \
--op-td-path ${current_dir}/../../include/mlir/SPIRV/SPIRVOps.td \
--op-td-path ${current_dir}/../../include/mlir/Dialect/SPIRV/SPIRVOps.td \
--new-inst "${new_op}"

View File

@ -34,5 +34,5 @@ current_file="$(readlink -f "$0")"
current_dir="$(dirname "$current_file")"
python3 ${current_dir}/gen_spirv_dialect.py \
--base-td-path ${current_dir}/../../include/mlir/SPIRV/SPIRVBase.td \
--base-td-path ${current_dir}/../../include/mlir/Dialect/SPIRV/SPIRVBase.td \
--new-opcode $@