@@ -333,6 +333,56 @@ jobs:
333333 working-directory : ${{env.BUILD_DIR}}
334334 run : ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
335335
336+ Windows-dynamic_mingw_hwloc :
337+ env :
338+ HWLOC_PACKAGE_NAME : hwloc-win64-build-2.10.0
339+ TBB_PACKAGE_NAME : oneapi-tbb-2021.12.0
340+ TBB_LIB_DIR : lib\intel64\vc14
341+ TBB_BIN_DIR : redist\intel64\vc14
342+
343+ name : " Windows dynamic UMF + mingw libhwloc"
344+ strategy :
345+ matrix :
346+ build_type : [Release]
347+
348+ runs-on : ' windows-latest'
349+
350+ steps :
351+ - name : Checkout
352+ uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
353+ with :
354+ fetch-depth : 0
355+
356+ - name : Get hwloc from official repo (mingw version)
357+ run : |
358+ Invoke-WebRequest -Uri https://download.open-mpi.org/release/hwloc/v2.10/${{env.HWLOC_PACKAGE_NAME}}.zip -OutFile ${{github.workspace}}\${{env.HWLOC_PACKAGE_NAME}}.zip -TimeoutSec 360
359+ Expand-Archive ${{github.workspace}}\${{env.HWLOC_PACKAGE_NAME}}.zip -DestinationPath ${{github.workspace}}
360+
361+ - name : Get TBB from github
362+ run : |
363+ Invoke-WebRequest -Uri https://github.com/oneapi-src/oneTBB/releases/download/v2021.12.0/${{env.TBB_PACKAGE_NAME}}-win.zip -OutFile "${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}-win.zip" -TimeoutSec 360
364+ Expand-Archive "${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}-win.zip" -DestinationPath ${{github.workspace}}
365+
366+ - name : Configure build
367+ run : >
368+ cmake
369+ -B ${{env.BUILD_DIR}}
370+ -DCMAKE_INSTALL_PREFIX="${{env.INSTL_DIR}}"
371+ -DCMAKE_PREFIX_PATH="${{github.workspace}}\${{env.HWLOC_PACKAGE_NAME}};${{github.workspace}}\${{env.TBB_PACKAGE_NAME}};${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}\${{env.TBB_LIB_DIR}};${{github.workspace}}\${{env.TBB_PACKAGE_NAME}}\${{env.TBB_BIN_DIR}}"
372+ -DUMF_BUILD_SHARED_LIBRARY=ON
373+ -DUMF_BUILD_EXAMPLES=ON
374+ -DUMF_FORMAT_CODE_STYLE=OFF
375+ -DUMF_DEVELOPER_MODE=ON
376+ -DUMF_TESTS_FAIL_ON_SKIP=ON
377+ -DUMF_HWLOC_NAME=libhwloc
378+
379+ - name : Build UMF
380+ run : cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j $Env:NUMBER_OF_PROCESSORS
381+
382+ - name : Run tests
383+ working-directory : ${{env.BUILD_DIR}}
384+ run : ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
385+
336386 L0 :
337387 uses : ./.github/workflows/reusable_gpu.yml
338388 with :
0 commit comments