Skip to content

Commit 0e8afdd

Browse files
committed
Merge branch 'latest' into bazel-win-workflow
2 parents 51f495e + 2d57315 commit 0e8afdd

File tree

242 files changed

+18189
-1958
lines changed

Some content is hidden

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

242 files changed

+18189
-1958
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-nuget-package.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,9 @@ concurrency:
77
cancel-in-progress: true
88

99
jobs:
10-
# macos 13 is Intel
11-
build_macos_13:
12-
runs-on: macos-13
13-
# strategy:
14-
# matrix:
15-
# python: [3.11]
10+
# Build macos intel
11+
build_macos_intel:
12+
runs-on: macos-15-intel
1613
steps:
1714
- uses: actions/checkout@v4
1815
- name: Build HiGHS
@@ -32,9 +29,9 @@ jobs:
3229
name: macos-x64
3330
path: ${{runner.workspace}}/build/dotnet/Highs.Native/runtimes
3431

35-
# macos 14 is M1
36-
build_macos_14:
37-
runs-on: macos-14
32+
# Build macos arm64
33+
build_macos_arm:
34+
runs-on: macos-14 # macos-14 is arm64
3835
steps:
3936
- uses: actions/checkout@v4
4037
- name: Build HiGHS
@@ -126,7 +123,7 @@ jobs:
126123

127124
build_windows:
128125
runs-on: windows-latest
129-
needs: [build_macos_13, build_macos_14, build_windows_32, build_linux, build_linux_arm64]
126+
needs: [build_macos_intel, build_macos_arm, build_windows_32, build_linux, build_linux_arm64]
130127
steps:
131128
- uses: actions/checkout@v4
132129
- name: Build HiGHS Windows native

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

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,8 @@ jobs:
132132
python3 -m pip install pytest
133133
python3 -m pytest $GITHUB_WORKSPACE
134134
135-
# macos 13 is Intel
136-
build_wheel_macos_13:
137-
runs-on: macos-13
135+
build_wheel_macos_intel:
136+
runs-on: macos-15-intel
138137
strategy:
139138
matrix:
140139
python: [3.11]
@@ -163,9 +162,8 @@ jobs:
163162
python3 -m pip install pytest
164163
python3 -m pytest $GITHUB_WORKSPACE
165164
166-
# macos 14 is M1
167-
build_wheel_macos_14:
168-
runs-on: macos-14
165+
build_wheel_macos_arm:
166+
runs-on: macos-14 # macos-14 is arm64
169167
strategy:
170168
matrix:
171169
python: [3.11]

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ 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]
5454
- [windows-2022, win_amd64]
5555
- [windows-2022, win32]

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- [ubuntu-24.04, musllinux_x86_64] # No OpenBlas, no test
3939
- [ubuntu-24.04, musllinux_i686]
4040
- [ubuntu-24.04-arm, musllinux_aarch64]
41-
- [macos-13, macosx_x86_64]
41+
- [macos-15-intel, macosx_x86_64]
4242
- [macos-14, macosx_arm64]
4343
- [windows-2022, win_amd64]
4444
- [windows-2022, win32]

.github/workflows/build-windows.yml

Lines changed: 64 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -180,35 +180,35 @@ jobs:
180180
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
181181
run: ctest --output-on-failure -C Debug
182182

183-
windows_debug_fb_off:
184-
runs-on: windows-latest
185-
186-
steps:
187-
- uses: actions/checkout@v4
188-
189-
- name: Create Build Environment
190-
# Some projects don't allow in-source building, so create a separate build directory
191-
# We'll use this as our working directory for all subsequent commands
192-
run: cmake -E make_directory ${{runner.workspace}}/build
193-
194-
- name: Configure CMake All
195-
shell: bash
196-
working-directory: ${{runner.workspace}}/build
197-
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DFAST_BUILD=OFF
198-
199-
- name: Build All
200-
working-directory: ${{runner.workspace}}/build
201-
shell: bash
202-
# Execute the build. You can specify a specific target with "--target <NAME>"
203-
run: |
204-
cmake --build . --parallel --config Debug
205-
206-
- name: Test All
207-
working-directory: ${{runner.workspace}}/build
208-
shell: bash
209-
# Execute tests defined by the CMake configuration.
210-
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
211-
run: ctest --parallel --timeout 300 --output-on-failure -C Debug
183+
# windows_debug_fb_off:
184+
# runs-on: windows-latest
185+
186+
# steps:
187+
# - uses: actions/checkout@v4
188+
189+
# - name: Create Build Environment
190+
# # Some projects don't allow in-source building, so create a separate build directory
191+
# # We'll use this as our working directory for all subsequent commands
192+
# run: cmake -E make_directory ${{runner.workspace}}/build
193+
194+
# - name: Configure CMake All
195+
# shell: bash
196+
# working-directory: ${{runner.workspace}}/build
197+
# run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DFAST_BUILD=OFF
198+
199+
# - name: Build All
200+
# working-directory: ${{runner.workspace}}/build
201+
# shell: bash
202+
# # Execute the build. You can specify a specific target with "--target <NAME>"
203+
# run: |
204+
# cmake --build . --parallel --config Debug
205+
206+
# - name: Test All
207+
# working-directory: ${{runner.workspace}}/build
208+
# shell: bash
209+
# # Execute tests defined by the CMake configuration.
210+
# # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
211+
# run: ctest --parallel --timeout 300 --output-on-failure -C Debug
212212

213213
windows_release64:
214214
runs-on: windows-2022
@@ -381,36 +381,38 @@ jobs:
381381
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
382382
run: ctest --output-on-failure -C Debug
383383

384-
windows_debug64_fb_off:
385-
runs-on: windows-latest
386-
387-
steps:
388-
- uses: actions/checkout@v4
389-
390-
- name: Create Build Environment
391-
# Some projects don't allow in-source building, so create a separate build directory
392-
# We'll use this as our working directory for all subsequent commands
393-
run: cmake -E make_directory ${{runner.workspace}}/build
394-
395-
- name: Configure CMake
396-
# Use a bash shell so we can use the same syntax for environment variable
397-
# access regardless of the host operating system
398-
shell: bash
399-
working-directory: ${{runner.workspace}}/build
400-
# Note the current convention is to use the -S and -B options here to specify source
401-
# and build directories, but this is only available with CMake 3.13 and higher.
402-
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
403-
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DFAST_BUILD=OFF -DHIGHSINT64=on -DHIGHS_NO_DEFAULT_THREADS=ON
404-
405-
- name: Build
406-
working-directory: ${{runner.workspace}}/build
407-
shell: bash
408-
# Execute the build. You can specify a specific target with "--target <NAME>"
409-
run: cmake --build . --config Debug --parallel
410-
411-
- name: Test
412-
working-directory: ${{runner.workspace}}/build
413-
shell: bash
414-
# Execute tests defined by the CMake configuration.
415-
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
416-
run: ctest --output-on-failure -C Debug
384+
# Switch off, fortran compiler lookup taking hours on new windows runner.
385+
# For fortran is best to use FAST_BUILD ON anyway.
386+
# windows_debug64_fb_off:
387+
# runs-on: windows-latest
388+
389+
# steps:
390+
# - uses: actions/checkout@v4
391+
392+
# - name: Create Build Environment
393+
# # Some projects don't allow in-source building, so create a separate build directory
394+
# # We'll use this as our working directory for all subsequent commands
395+
# run: cmake -E make_directory ${{runner.workspace}}/build
396+
397+
# - name: Configure CMake
398+
# # Use a bash shell so we can use the same syntax for environment variable
399+
# # access regardless of the host operating system
400+
# shell: bash
401+
# working-directory: ${{runner.workspace}}/build
402+
# # Note the current convention is to use the -S and -B options here to specify source
403+
# # and build directories, but this is only available with CMake 3.13 and higher.
404+
# # The CMake binaries on the Github Actions machines are (as of this writing) 3.12
405+
# run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=Debug -DFAST_BUILD=OFF -DHIGHSINT64=on -DHIGHS_NO_DEFAULT_THREADS=ON
406+
407+
# - name: Build
408+
# working-directory: ${{runner.workspace}}/build
409+
# shell: bash
410+
# # Execute the build. You can specify a specific target with "--target <NAME>"
411+
# run: cmake --build . --config Debug --parallel
412+
413+
# - name: Test
414+
# working-directory: ${{runner.workspace}}/build
415+
# shell: bash
416+
# # Execute tests defined by the CMake configuration.
417+
# # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
418+
# run: ctest --output-on-failure -C Debug

0 commit comments

Comments
 (0)