Skip to content

Commit

Permalink
CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tehrengruber committed Jul 2, 2024
1 parent 1baab39 commit ed1c0ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ jobs:
python-version: ${{ matrix.python_version }} # TODO(tehrengruber): cache?
- name: Install GT4Py
run: |
git clone https://github.com/GridTools/gt4py.git
#git clone https://github.com/GridTools/gt4py.git
git clone --branch fix_python_interp_path_in_cmake [email protected]:tehrengruber/gt4py.git
cd gt4py
git checkout 91307b10e2ca1edb76a72cd8a3bebdd66898da60 # TODO(tehrengruber): remove
#git checkout 91307b10e2ca1edb76a72cd8a3bebdd66898da60 # TODO(tehrengruber): remove
pip install -r requirements-dev.txt
pip install .
- uses: julia-actions/setup-julia@v1
Expand Down
6 changes: 3 additions & 3 deletions src/gt2py/gt2py.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const ClosureVarTypeDeduction = PyNULL()
const DeadClosureVarElimination = PyNULL()
const UnpackedAssignPass = PyNULL()
const FieldOperatorTypeDeduction = PyNULL()
const FieldOperater = PyNULL()
const FieldOperator = PyNULL()
const roundtrip = PyNULL()
const gtfn_cpu = PyNULL()
const cmake = PyNULL()
Expand Down Expand Up @@ -59,7 +59,7 @@ function __init__()
copy!(DeadClosureVarElimination, pyimport("gt4py.next.ffront.foast_passes.dead_closure_var_elimination").DeadClosureVarElimination)
copy!(UnpackedAssignPass, pyimport("gt4py.next.ffront.foast_passes.iterable_unpack").UnpackedAssignPass)
copy!(FieldOperatorTypeDeduction, pyimport("gt4py.next.ffront.foast_passes.type_deduction").FieldOperatorTypeDeduction)
copy!(FieldOperater, pyimport("gt4py.next.ffront.decorator").FieldOperator)
copy!(FieldOperator, pyimport("gt4py.next.ffront.decorator").FieldOperator)
copy!(roundtrip, pyimport("gt4py.next.program_processors.runners.roundtrip"))
copy!(gtfn_cpu, pyimport("gt4py.next.program_processors.runners.gtfn"))
copy!(cmake, pyimport("gt4py.next.otf.compilation.build_systems.cmake"))
Expand Down Expand Up @@ -148,7 +148,7 @@ function py_field_operator(fo, backend = Nothing, grid_type = py"None"o, operato

foast_node = FieldOperatorTypeDeduction.apply(untyped_foast_node)

return FieldOperater(
return FieldOperator(
foast_node=foast_node,
closure_vars=closure_vars,
definition=py"None"o,
Expand Down

0 comments on commit ed1c0ba

Please sign in to comment.