Skip to content
Merged
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
15 changes: 14 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,30 @@
fail-fast: false
matrix:
version:
- 'lts'

Check failure on line 27 in .github/workflows/CI.yml

View workflow job for this annotation

GitHub Actions / Check Spelling

`lts` is not a recognized word. (unrecognized-spelling)
- '1'
- 'pre'
os:
- ubuntu-latest
- windows-latest
- macos-13
arch:
- x64
- x86
include:
- version: '1'
os: ubuntu-24.04-arm
arch: arm64
- version: '1'
os: macos-latest
arch: arm64
steps:
- uses: actions/checkout@v4
- name: Install compilers
uses: fortran-lang/setup-fortran@main
with:
compiler: 'gcc'
version: '14'
if: matrix.os == 'macos-latest' || matrix.os == 'macos-13'
- uses: julia-actions/setup-julia@v2
with:
version: ${{ matrix.version }}
Expand Down
12 changes: 5 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name = "PRIMA"
uuid = "0a7d04aa-8ac2-47b3-b7a7-9dbd6ad661ed"
authors = ["Éric Thiébaut <eric.thiebaut@univ-lyon1.fr> and contributors"]
version = "0.2.3"
version = "0.2.4"

[deps]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
PRIMA_jll = "eead6e0c-2d5b-5641-a95c-b722de96d551"
Requires = "ae029012-a4dd-5104-9daa-d747884805df"
TypeUtils = "c3b1956e-8857-4d84-9b79-890df85b1e67"

[weakdeps]
Expand All @@ -18,12 +17,11 @@ PRIMACUTEstExt = "CUTEst"
PRIMANLPModelsExt = "NLPModels"

[compat]
CUTEst = "1.0.1"
NLPModels = "0.21.3"
CUTEst = "1.3.2"
NLPModels = "0.21.5"
PRIMA_jll = "0.7.1"
Requires = "1"
TypeUtils = "0.3, 1"
julia = "1.6"
TypeUtils = "1"
julia = "1.10"

[extras]
CUTEst = "1b53aba6-35b6-5f92-a507-53c67d53f819"
Expand Down
6 changes: 1 addition & 5 deletions ext/PRIMACUTEstExt.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
module PRIMACUTEstExt

if isdefined(Base, :get_extension)
using PRIMA, CUTEst
else
using ..PRIMA, ..CUTEst
end
using PRIMA, CUTEst

for func in (:uobyqa, :newuoa, :bobyqa, :lincoa, :cobyla, :prima)
@eval function PRIMA.$(Symbol(func,"_CUTEst"))(name::AbstractString; kwargs...)
Expand Down
6 changes: 1 addition & 5 deletions ext/PRIMANLPModelsExt.jl
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
module PRIMANLPModelsExt

if isdefined(Base, :get_extension)
using PRIMA, NLPModels
else
using ..PRIMA, ..NLPModels
end
using PRIMA, NLPModels

# This structure is to wrap a non-linear problem model into a callable object.
struct ObjectiveFunction{F<:AbstractNLPModel} <: Function
Expand Down
3 changes: 0 additions & 3 deletions src/PRIMA.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ export bobyqa, cobyla, lincoa, newuoa, prima, uobyqa, issuccess
using TypeUtils
using LinearAlgebra

isdefined(Base, :get_extension) || using Requires


#------------------------------------------------------------------------------
# PUBLIC INTERFACE

Expand Down
Loading