Skip to content

Commit 05c83ea

Browse files
committed
Merge v1.12 into branch"
2 parents 7bb891b + 869cbd4 commit 05c83ea

File tree

378 files changed

+39346
-7240
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

378 files changed

+39346
-7240
lines changed

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
build --enable_platform_specific_config
2+
3+
build:windows --enable_runfiles
4+
15
build:asan --strip=never
26
build:asan --copt -fsanitize=address
37
build:asan --copt -O1

.github/julia/build_tarballs.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ cmake -DCMAKE_INSTALL_PREFIX=${prefix} \
3333
-DCMAKE_BUILD_TYPE=Release \
3434
-DBUILD_SHARED_LIBS=${BUILD_SHARED} \
3535
-DZLIB_USE_STATIC_LIBS=${BUILD_STATIC} \
36-
-DFAST_BUILD=ON ..
36+
-DHIPO=ON \
37+
-DBLAS_LIBRARIES="${libdir}/libopenblas.${dlext}" \
38+
-DMETIS_ROOT=${prefix} \
39+
..
3740
3841
if [[ "${target}" == *-linux-* ]]; then
3942
make -j ${nproc}
@@ -60,6 +63,8 @@ platforms = expand_cxxstring_abis(platforms)
6063
dependencies = [
6164
Dependency("CompilerSupportLibraries_jll"),
6265
Dependency("Zlib_jll"),
66+
Dependency("METIS_jll"),
67+
Dependency("OpenBLAS32_jll"),
6368
HostBuildDependency(PackageSpec(; name="CMake_jll")),
6469
]
6570

.github/workflows/build-fast.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Configure CMake
2020
shell: bash
2121
working-directory: ${{runner.workspace}}/build
22-
run: cmake $GITHUB_WORKSPACE -DFAST_BUILD=ON -DCMAKE_BUILD_TYPE=RELEASE
22+
run: cmake $GITHUB_WORKSPACE -DFAST_BUILD=ON -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_UNITY_BUILD=ON
2323

2424
- name: Build
2525
working-directory: ${{runner.workspace}}/build
@@ -46,7 +46,7 @@ jobs:
4646
- name: Configure CMake
4747
shell: bash
4848
working-directory: ${{runner.workspace}}/build
49-
run: cmake $GITHUB_WORKSPACE -DFAST_BUILD=ON -DCMAKE_BUILD_TYPE=DEBUG
49+
run: cmake $GITHUB_WORKSPACE -DFAST_BUILD=ON -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_UNITY_BUILD=ON
5050

5151
- name: Build
5252
working-directory: ${{runner.workspace}}/build

.github/workflows/build-intel.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,18 @@ jobs:
4848
source /opt/intel/oneapi/setvars.sh
4949
cmake --build build --parallel
5050
51+
# If the unit tests below are failing run to see details.
52+
# - name: Unit Test
53+
# shell: bash
54+
# run: |
55+
# source /opt/intel/oneapi/setvars.sh
56+
# export SYCL_DEVICE_FILTER=opencl.cpu
57+
# pwd
58+
# ls
59+
# ls build
60+
# ls build/bin
61+
# ./build/bin/unit_tests
62+
5163
- name: Test
5264
shell: bash
5365
run: |

.github/workflows/build-nuget-package.yml

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,9 @@ concurrency:
88
cancel-in-progress: true
99

1010
jobs:
11-
# macos 13 is Intel
12-
build_macos_13:
13-
runs-on: macos-13
14-
# strategy:
15-
# matrix:
16-
# python: [3.11]
11+
# Build macos intel
12+
build_macos_intel:
13+
runs-on: macos-15-intel
1714
steps:
1815
- uses: actions/checkout@v4
1916
- name: Build HiGHS
@@ -32,10 +29,10 @@ jobs:
3229
with:
3330
name: macos-x64
3431
path: ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
35-
36-
# macos 14 is M1
37-
build_macos_14:
38-
runs-on: macos-14
32+
33+
# Build macos arm64
34+
build_macos_arm:
35+
runs-on: macos-14 # macos-14 is arm64
3936
steps:
4037
- uses: actions/checkout@v4
4138
- name: Build HiGHS
@@ -55,14 +52,14 @@ jobs:
5552
name: macos-arm64
5653
path: ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
5754

58-
# Build windows 32 and linux
55+
# Build windows 32 and linux
5956
build_windows_32:
6057
runs-on: windows-latest
6158
steps:
6259
- uses: actions/checkout@v4
6360
- name: Build HiGHS
6461
run: |
65-
cmake -E make_directory ${{runner.workspace}}/build32
62+
cmake -E make_directory ${{runner.workspace}}/build32
6663
6764
- name: Configure CMake win32
6865
shell: bash
@@ -127,7 +124,7 @@ jobs:
127124

128125
build_windows:
129126
runs-on: windows-latest
130-
needs: [build_macos_13, build_macos_14, build_windows_32, build_linux, build_linux_arm64]
127+
needs: [build_macos_intel, build_macos_arm, build_windows_32, build_linux, build_linux_arm64]
131128
steps:
132129
- uses: actions/checkout@v4
133130
- name: Build HiGHS Windows native
@@ -143,10 +140,10 @@ jobs:
143140
working-directory: ${{runner.workspace}}/build
144141
shell: bash
145142
run: cmake --build . --config Release --parallel
146-
143+
147144
- name: Display structure of downloaded files
148145
run: |
149-
pwd
146+
pwd
150147
ls -R ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
151148
152149
- name: Download runtimes macos-x64
@@ -188,7 +185,7 @@ jobs:
188185

189186
- name: Dotnet pack
190187
working-directory: ${{runner.workspace}}/build/dotnet/Highs.Native
191-
run: dotnet pack -c Release /p:Version=1.10.0
188+
run: dotnet pack -c Release /p:Version=1.12.0
192189

193190
- uses: actions/upload-artifact@v4
194191
with:
@@ -202,7 +199,7 @@ jobs:
202199
name: nuget
203200

204201
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
205-
steps:
202+
steps:
206203
- uses: actions/checkout@v4
207204
- uses: actions/setup-dotnet@v4
208205

@@ -212,6 +209,6 @@ jobs:
212209
name: nuget
213210

214211
- name: Dotnet push
215-
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json
212+
run: dotnet nuget push "*.nupkg" --api-key ${{secrets.nuget_api_key}} --source https://api.nuget.org/v3/index.json
216213
# env:
217214
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/build-python-package.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
python3 -m pytest $GITHUB_WORKSPACE
5151
5252
build_sdist_win:
53-
runs-on: windows-2019
53+
runs-on: windows-2022
5454
steps:
5555
- uses: actions/checkout@v4
5656

@@ -133,9 +133,8 @@ jobs:
133133
python3 -m pip install pytest
134134
python3 -m pytest $GITHUB_WORKSPACE
135135
136-
# macos 13 is Intel
137-
build_wheel_macos_13:
138-
runs-on: macos-13
136+
build_wheel_macos_intel:
137+
runs-on: macos-15-intel
139138
strategy:
140139
matrix:
141140
python: [3.11]
@@ -164,9 +163,8 @@ jobs:
164163
python3 -m pip install pytest
165164
python3 -m pytest $GITHUB_WORKSPACE
166165
167-
# macos 14 is M1
168-
build_wheel_macos_14:
169-
runs-on: macos-14
166+
build_wheel_macos_arm:
167+
runs-on: macos-14 # macos-14 is arm64
170168
strategy:
171169
matrix:
172170
python: [3.11]
@@ -196,7 +194,7 @@ jobs:
196194
python3 -m pytest $GITHUB_WORKSPACE
197195
198196
build_wheel_windows:
199-
runs-on: windows-2019
197+
runs-on: windows-2022
200198
steps:
201199
- uses: actions/checkout@v4
202200

@@ -223,7 +221,7 @@ jobs:
223221
python -m pytest
224222
225223
build_wheel_windows_313:
226-
runs-on: windows-2019
224+
runs-on: windows-2022
227225
steps:
228226
- uses: actions/checkout@v4
229227

.github/workflows/build-unit-tests-external.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
run: ctest --parallel --timeout 300 --output-on-failure
8383

8484
# release__windows_extra_unit_tests:
85-
# runs-on: windows-2019
85+
# runs-on: windows-2022
8686

8787
# steps:
8888
# - uses: actions/checkout@v4
@@ -118,7 +118,7 @@ jobs:
118118
# - name: Unit Test Extra
119119
# working-directory: ${{runner.workspace}}/build
120120
# shell: bash
121-
# run: ./bin/Release/unit_tests.exe highs-names-extra
121+
# run: ./Release/bin/unit_tests.exe highs-names-extra
122122

123123
# - name: Test
124124
# working-directory: ${{runner.workspace}}/build

.github/workflows/build-wheels-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,17 @@ jobs:
4949
- [ubuntu-24.04, musllinux_x86_64] # No OpenBlas, no test
5050
- [ubuntu-24.04, musllinux_i686]
5151
- [ubuntu-24.04-arm, musllinux_aarch64]
52-
- [macos-13, macosx_x86_64]
52+
- [macos-15-intel, macosx_x86_64]
5353
- [macos-14, macosx_arm64]
54-
- [windows-2019, win_amd64]
55-
- [windows-2019, win32]
54+
- [windows-2022, win_amd64]
55+
- [windows-2022, win32]
5656
python: ["cp38", "cp39","cp310", "cp311","cp312", "cp313"]
5757

5858
steps:
5959
- uses: actions/checkout@v4
6060

6161
- name: Build wheels
62-
uses: pypa/cibuildwheel@v2.21
62+
uses: pypa/cibuildwheel@v3.0
6363
env:
6464
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
6565

.github/workflows/build-wheels.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ jobs:
3939
- [ubuntu-24.04, musllinux_x86_64] # No OpenBlas, no test
4040
- [ubuntu-24.04, musllinux_i686]
4141
- [ubuntu-24.04-arm, musllinux_aarch64]
42-
- [macos-13, macosx_x86_64]
42+
- [macos-15-intel, macosx_x86_64]
4343
- [macos-14, macosx_arm64]
44-
- [windows-2019, win_amd64]
45-
- [windows-2019, win32]
44+
- [windows-2022, win_amd64]
45+
- [windows-2022, win32]
4646
python: ["cp38", "cp39","cp310", "cp311","cp312", "cp313"]
4747

4848
steps:
4949
- uses: actions/checkout@v4
5050
- name: Build wheels
51-
uses: pypa/cibuildwheel@v2.21
51+
uses: pypa/cibuildwheel@v3.0
5252
env:
5353
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}

0 commit comments

Comments
 (0)