Skip to content

Update BinaryBuilder files - #892

Merged
amontoison merged 3 commits into
mainfrom
bump_unoutils_jll
Aug 29, 2026
Merged

Update BinaryBuilder files#892
amontoison merged 3 commits into
mainfrom
bump_unoutils_jll

Conversation

@amontoison

@amontoison amontoison commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

@cvanaret
Can you regenerate UnoUtils_jll.jl with this new script.
it should fix the issue with HiGHS (in #889). 🤞
I also updated the script to compile SPRAL without OpenMP, we should be able to package Uno with it. 🤘

@amontoison amontoison self-assigned this Aug 29, 2026
@amontoison amontoison added build CI Continuous Integration labels Aug 29, 2026
@cvanaret

cvanaret commented Aug 29, 2026

Copy link
Copy Markdown
Owner

I doesn't build unfortunately :( Seems to be a Clang flag.

Re-run cmake no build system arguments
-- HIGHS_VCPKG: OFF
-- The CXX compiler identification is GNU 13.2.0
-- The C compiler identification is GNU 13.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - failed
-- Check for working CXX compiler: /opt/bin/x86_64-w64-mingw32-libgfortran5-cxx11/x86_64-w64-mingw32-g++
-- Check for working CXX compiler: /opt/bin/x86_64-w64-mingw32-libgfortran5-cxx11/x86_64-w64-mingw32-g++ - broken
CMake Error at /workspace/x86_64-linux-musl-cxx11/destdir/share/cmake-4.4/Modules/CMakeTestCXXCompiler.cmake:71 (message):
  The C++ compiler
    "/opt/bin/x86_64-w64-mingw32-libgfortran5-cxx11/x86_64-w64-mingw32-g++"
  is not able to compile a simple test program.
  It fails with the following output:
    Change Dir: '/workspace/srcdir/HiGHS/build/CMakeFiles/CMakeScratch/TryCompile-gfncbJ'
    Run Build Command(s): /workspace/x86_64-linux-musl-cxx11/destdir/bin/cmake -E env VERBOSE=1 /usr/bin/make -f Makefile cmTC_8be38/fast
    /usr/bin/make  -f CMakeFiles/cmTC_8be38.dir/build.make CMakeFiles/cmTC_8be38.dir/build
    make[1]: Entering directory '/workspace/srcdir/HiGHS/build/CMakeFiles/CMakeScratch/TryCompile-gfncbJ'
    Building CXX object CMakeFiles/cmTC_8be38.dir/testCXXCompiler.cxx.obj
    /opt/bin/x86_64-w64-mingw32-libgfortran5-cxx11/x86_64-w64-mingw32-g++ --sysroot=/opt/x86_64-w64-mingw32/x86_64-w64-mingw32/sys-root/   -fno-emulated-tls  -o CMakeFiles/cmTC_8be38.dir/testCXXCompiler.cxx.obj -c /workspace/srcdir/HiGHS/build/CMakeFiles/CMakeScratch/TryCompile-gfncbJ/testCXXCompiler.cxx
    x86_64-w64-mingw32-g++: error: unrecognized command-line option ‘-fno-emulated-tls’
    make[1]: *** [CMakeFiles/cmTC_8be38.dir/build.make:81: CMakeFiles/cmTC_8be38.dir/testCXXCompiler.cxx.obj] Error 1
    make[1]: Leaving directory '/workspace/srcdir/HiGHS/build/CMakeFiles/CMakeScratch/TryCompile-gfncbJ'
    make: *** [Makefile:134: cmTC_8be38/fast] Error 2

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:26 (project)

-- Configuring incomplete, errors occurred!
 ---> cmake .. -DCMAKE_INSTALL_PREFIX=${prefix} -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="${TLS_FLAG}" -DCMAKE_CXX_FLAGS="${TLS_FLAG}" -DBUILD_SHARED_LIBS=OFF -DZLIB=OFF -DHIPO=ON -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DBUILD_CXX_EXE=OFF -DBLA_VENDOR=Generic -DBLAS_LIBRARIES=${prefix}/lib/libblas.a -DBUILD_SHARED_EXTRAS_LIB=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON
 ---> cmake .. -DCMAKE_INSTALL_PREFIX=${prefix} -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_FLAGS="${TLS_FLAG}" -DCMAKE_CXX_FLAGS="${TLS_FLAG}" -DBUILD_SHARED_LIBS=OFF -DZLIB=OFF -DHIPO=ON -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF -DBUILD_CXX_EXE=OFF -DBLA_VENDOR=Generic -DBLAS_LIBRARIES=${prefix}/lib/libblas.a -DBUILD_SHARED_EXTRAS_LIB=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON
Previous command exited with 1
Child Process exited, exit code 1
ERROR: LoadError: Build for UnoUtils on x86_64-w64-mingw32-libgfortran5-cxx11 did not complete successfully

Comment thread .github/julia/build_tarballs_utils.jl Outdated
Comment thread .github/julia/build_tarballs_utils.jl Outdated
Co-authored-by: Alexis Montoison <35051714+amontoison@users.noreply.github.com>
@amontoison

Copy link
Copy Markdown
Collaborator Author

@cvanaret Can you try with just the fix for SPRAL?
I will try to understand what we can do for HiGHS later.

@amontoison
amontoison merged commit e873301 into main Aug 29, 2026
98 checks passed
@amontoison
amontoison deleted the bump_unoutils_jll branch August 29, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build CI Continuous Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants