From 3c358c40846272e5d0498508f4516259dbbec02d Mon Sep 17 00:00:00 2001 From: Arno Strouwen Date: Fri, 22 Dec 2023 14:54:50 +0100 Subject: [PATCH] downgrade CI --- .github/workflows/Downgrade.yml | 29 +++++++++++++++++++++++++++++ Project.toml | 26 ++++++++++++-------------- src/LinearSolve.jl | 1 - src/init.jl | 18 +----------------- 4 files changed, 42 insertions(+), 32 deletions(-) create mode 100644 .github/workflows/Downgrade.yml diff --git a/.github/workflows/Downgrade.yml b/.github/workflows/Downgrade.yml new file mode 100644 index 000000000..372644a06 --- /dev/null +++ b/.github/workflows/Downgrade.yml @@ -0,0 +1,29 @@ +name: Downgrade +on: + pull_request: + branches: + - main + paths-ignore: + - 'docs/**' + push: + branches: + - main + paths-ignore: + - 'docs/**' +jobs: + test: + runs-on: ubuntu-latest + strategy: + matrix: + version: ['1'] + steps: + - uses: actions/checkout@v4 + - uses: julia-actions/setup-julia@v1 + with: + version: ${{ matrix.version }} + - uses: cjdoris/julia-downgrade-compat-action@v1 +# if: ${{ matrix.version == '1.6' }} + with: + skip: Pkg,TOML + - uses: julia-actions/julia-buildpkg@v1 + - uses: julia-actions/julia-runtest@v1 \ No newline at end of file diff --git a/Project.toml b/Project.toml index ba9907272..58e7feab5 100644 --- a/Project.toml +++ b/Project.toml @@ -20,7 +20,6 @@ PrecompileTools = "aea7be01-6a6a-4083-8856-8a6e6704d82a" Preferences = "21216c6a-2e73-6563-6e65-726566657250" RecursiveFactorization = "f2c3362d-daeb-58d1-803e-2bc74f2840b4" Reexport = "189a3867-3050-52da-a836-e630ba90ab69" -Requires = "ae029012-a4dd-5104-9daa-d747884805df" SciMLBase = "0bca4576-84f4-4d90-8ffe-ffa030f20462" SciMLOperators = "c0aeaf25-5076-4817-a8d5-81caf7dfa961" Setfield = "efcf1570-3423-57d1-acb7-fd33fddbac46" @@ -63,40 +62,39 @@ AllocCheck = "0.1" Aqua = "0.8" ArrayInterface = "7.4.11" BandedMatrices = "1" -BlockDiagonals = "0.1" +BlockDiagonals = "0.1.42" CUDA = "5" ConcreteStructs = "0.2" DocStringExtensions = "0.9" EnumX = "1" -Enzyme = "0.11" -EnzymeCore = "0.6" +Enzyme = "0.11.11" +EnzymeCore = "0.6.4" FastAlmostBandedMatrices = "0.1" FastLapackInterface = "2" -FiniteDiff = "2" -ForwardDiff = "0.10" +FiniteDiff = "2.15" +ForwardDiff = "0.10.13" GPUArraysCore = "0.1" HYPRE = "1.4.0" -InteractiveUtils = "1.6" +InteractiveUtils = "1.9" IterativeSolvers = "0.9.3" JET = "0.8" KLU = "0.3.0, 0.4" KernelAbstractions = "0.9" Krylov = "0.9" KrylovKit = "0.6" -Libdl = "1.6" +Libdl = "1.9" LinearAlgebra = "1.9" MPI = "0.20" Metal = "0.5" MultiFloats = "1" Pardiso = "0.5" Pkg = "1" -PrecompileTools = "1" -Preferences = "1" +PrecompileTools = "1.1" +Preferences = "1.4" Random = "1" -RecursiveArrayTools = "2, 3" -RecursiveFactorization = "0.2.8" +RecursiveArrayTools = "2.38, 3" +RecursiveFactorization = "0.2.14" Reexport = "1" -Requires = "1" SafeTestsets = "0.1" SciMLBase = "2" SciMLOperators = "0.3" @@ -104,7 +102,7 @@ Setfield = "1" SparseArrays = "1.9" Sparspak = "0.3.6" StaticArrays = "1" -StaticArraysCore = "1" +StaticArraysCore = "1.2" Test = "1" UnPack = "1" julia = "1.9" diff --git a/src/LinearSolve.jl b/src/LinearSolve.jl index 572e310e9..fc039d13f 100644 --- a/src/LinearSolve.jl +++ b/src/LinearSolve.jl @@ -23,7 +23,6 @@ PrecompileTools.@recompile_invalidations begin using FastLapackInterface using DocStringExtensions using EnumX - using Requires import InteractiveUtils import StaticArraysCore: StaticArray, SVector, MVector, SMatrix, MMatrix diff --git a/src/init.jl b/src/init.jl index 1291b4556..e10960f1d 100644 --- a/src/init.jl +++ b/src/init.jl @@ -1,19 +1,3 @@ function __init__() - @static if VERSION < v"1.7beta" - blas = BLAS.vendor() - IS_OPENBLAS[] = blas == :openblas64 || blas == :openblas - else - IS_OPENBLAS[] = occursin("openblas", BLAS.get_config().loaded_libs[1].libname) - end - @static if !isdefined(Base, :get_extension) - @require IterativeSolvers="b77e0a4c-d291-57a0-90e8-8db25a27a240" begin - include("../ext/LinearSolveIterativeSolversExt.jl") - end - @require KrylovKit="0b1a1467-8014-51b9-945f-bf0ae24f4b77" begin - include("../ext/LinearSolveKrylovKitExt.jl") - end - @require Enzyme="7da242da-08ed-463a-9acd-ee780be4f1d9" begin - include("../ext/LinearSolveEnzymeExt.jl") - end - end + IS_OPENBLAS[] = occursin("openblas", BLAS.get_config().loaded_libs[1].libname) end