Skip to content

Upgrade to Julia 1.11 #2117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
173 changes: 93 additions & 80 deletions .buildkite/Manifest.toml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .buildkite/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ ThreadsX = "ac1d9e8a-700a-412c-b207-f0111f4b6c0d"
URIs = "5c2747f8-b7ea-4ff2-ba2e-563bfd36b1d4"

[compat]
SnoopCompileCore = "2"
SnoopCompileCore = "2, 3"
2 changes: 1 addition & 1 deletion .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
agents:
queue: new-central
slurm_mem: 8G
modules: climacommon/2024_10_08
modules: climacommon/2024_12_16

env:
JULIA_LOAD_PATH: "${JULIA_LOAD_PATH}:${BUILDKITE_BUILD_CHECKOUT_PATH}/.buildkite"
Expand Down
2 changes: 1 addition & 1 deletion .buildkite/scaling/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
env:
JULIA_VERSION: "1.10.0"
JULIA_VERSION: "1.11.2"
MPICH_VERSION: "4.0.0"
OPENMPI_VERSION: "4.1.1"
CUDA_VERSION: "11.2"
Expand Down
10 changes: 9 additions & 1 deletion .dev/Manifest.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# This file is machine-generated - editing it directly is not advised

julia_version = "1.10.7"
julia_version = "1.11.2"
manifest_format = "2.0"
project_hash = "30b405be1c677184b7703a9bfb3d2100029ccad0"

[[deps.Base64]]
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
version = "1.11.0"

[[deps.CSTParser]]
deps = ["Tokenize"]
Expand Down Expand Up @@ -46,6 +47,7 @@ version = "0.18.20"
[[deps.Dates]]
deps = ["Printf"]
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
version = "1.11.0"

[[deps.Glob]]
git-tree-sha1 = "97285bbd5230dd766e9ef6749b80fc617126d496"
Expand All @@ -55,6 +57,7 @@ version = "1.3.1"
[[deps.InteractiveUtils]]
deps = ["Markdown"]
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
version = "1.11.0"

[[deps.JuliaFormatter]]
deps = ["CSTParser", "CommonMark", "DataStructures", "Glob", "PrecompileTools", "TOML", "Tokenize"]
Expand All @@ -65,6 +68,7 @@ version = "1.0.62"
[[deps.Markdown]]
deps = ["Base64"]
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
version = "1.11.0"

[[deps.OrderedCollections]]
git-tree-sha1 = "12f1439c4f986bb868acda6ea33ebc78e19b95ad"
Expand All @@ -86,10 +90,12 @@ version = "1.4.3"
[[deps.Printf]]
deps = ["Unicode"]
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
version = "1.11.0"

[[deps.Random]]
deps = ["SHA"]
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
version = "1.11.0"

[[deps.SHA]]
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
Expand All @@ -108,6 +114,8 @@ version = "0.5.29"
[[deps.UUIDs]]
deps = ["Random", "SHA"]
uuid = "cf7118a7-6976-5b1a-9a39-7adc72f591a4"
version = "1.11.0"

[[deps.Unicode]]
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"
version = "1.11.0"
7 changes: 5 additions & 2 deletions .github/workflows/ClimaCoreMakie.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ jobs:
lib-climacore-makie:
runs-on: ubuntu-20.04
timeout-minutes: 45
strategy:
matrix:
version: ['1.10', '1.11']
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- run: sudo apt-get update && sudo apt-get install -y xorg-dev mesa-utils xvfb libgl1 freeglut3-dev libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev libxext-dev
- name: Install Julia dependencies
Expand All @@ -38,7 +41,7 @@ jobs:
with:
name: climacore-makie-output
path: |
lib/ClimaCoreMakie/test/output
lib/ClimaCoreMakie/test/output/${{ matrix.version }}
- name: Fail after artifacts if tests failed
if: ${{ env.TESTS_SUCCESSFUL != 'true' }}
run: exit 1
7 changes: 5 additions & 2 deletions .github/workflows/ClimaCorePlots.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ jobs:
lib-climacore-plots:
runs-on: ubuntu-20.04
timeout-minutes: 30
strategy:
matrix:
version: ['1.10', '1.11']
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- name: Install Julia dependencies
run: >
Expand All @@ -38,7 +41,7 @@ jobs:
with:
name: climacore-plots-output
path: |
lib/ClimaCorePlots/test/output
lib/ClimaCorePlots/test/output/${{ matrix.version }}
- name: Fail after artifacts if tests failed
if: ${{ env.TESTS_SUCCESSFUL != 'true' }}
run: exit 1
7 changes: 5 additions & 2 deletions .github/workflows/ClimaCoreSpectra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ jobs:
lib-climacore-spectra:
runs-on: ubuntu-20.04
timeout-minutes: 30
strategy:
matrix:
version: ['1.10', '1.11']
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- name: Install Julia dependencies
run: >
Expand All @@ -38,7 +41,7 @@ jobs:
with:
name: climacore-spectra-output
path: |
lib/ClimaCoreSpectra/test/output
lib/ClimaCoreSpectra/test/output/${{ matrix.version }}
- name: Fail after artifacts if tests failed
if: ${{ env.TESTS_SUCCESSFUL != 'true' }}
run: exit 1
7 changes: 5 additions & 2 deletions .github/workflows/ClimaCoreTempestRemap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,15 @@ jobs:
lib-climacore-tempestremap:
runs-on: ubuntu-20.04
timeout-minutes: 30
strategy:
matrix:
version: ['1.10', '1.11']
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- name: Install Julia dependencies
run: >
Expand All @@ -38,7 +41,7 @@ jobs:
with:
name: climacore-tempestremap-output
path: |
lib/ClimaCoreTempestRemap/test/output
lib/ClimaCoreTempestRemap/test/output/${{ matrix.version }}
- name: Fail after artifacts if tests failed
if: ${{ env.TESTS_SUCCESSFUL != 'true' }}
run: exit 1
7 changes: 5 additions & 2 deletions .github/workflows/ClimaCoreVTK.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@ jobs:
lib-climacore-vtk:
runs-on: ubuntu-20.04
timeout-minutes: 30
strategy:
matrix:
version: ['1.10', '1.11']
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
version: ${{ matrix.version }}
- uses: julia-actions/cache@v2
- name: Install Paraview
run: |
Expand All @@ -46,7 +49,7 @@ jobs:
with:
name: climacore-vtk-output
path: |
lib/ClimaCoreVTK/test/output/*.png
lib/ClimaCoreVTK/test/output/${{ matrix.version }}/*.png
- name: Fail after artifacts if tests failed
if: ${{ env.TESTS_SUCCESSFUL != 'true' }}
run: exit 1
2 changes: 1 addition & 1 deletion .github/workflows/Invalidations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
version: '1.11'
- uses: actions/checkout@v4
- uses: julia-actions/julia-buildpkg@v1
- uses: julia-actions/julia-invalidations@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/JuliaFormatter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- uses: julia-actions/setup-julia@v2
if: steps.filter.outputs.julia_file_change == 'true'
with:
version: '1.10'
version: '1.11'

- name: Apply JuliaFormatter
if: steps.filter.outputs.julia_file_change == 'true'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: julia-actions/setup-julia@v2
with:
version: '1.10'
version: '1.11'
- name: Install dependencies
run: julia --project=docs -e 'using Pkg; Pkg.develop(path="."); Pkg.instantiate(;verbose=true)'
- name: Build and deploy
Expand Down
Loading
Loading