Skip to content

Rebuild 2021.13 for libhwloc 2.12.1#143

Closed
traversaro wants to merge 4 commits into
conda-forge:2021.13from
traversaro:patch-1
Closed

Rebuild 2021.13 for libhwloc 2.12.1#143
traversaro wants to merge 4 commits into
conda-forge:2021.13from
traversaro:patch-1

Conversation

@traversaro

@traversaro traversaro commented Jul 28, 2025

Copy link
Copy Markdown
Contributor

Similar to #137, tbb 2021.* is the one actually used by conda-forge, see conda-forge/conda-forge-pinning-feedstock#6635 .

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-admin

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@traversaro

Copy link
Copy Markdown
Contributor Author

@conda-forge-admin please rerender

@traversaro

traversaro commented Jul 28, 2025

Copy link
Copy Markdown
Contributor Author

I am not sure what changed w.r.t. #137 (possibly either vs version or cmake version) but now Windows fails with error:

[47/49] Linking CXX shared library msvc_19.44_cxx_64_md_release\tbbbind_2_5.dll
FAILED: [code=4294967295] msvc_19.44_cxx_64_md_release/tbbbind_2_5.dll msvc_19.44_cxx_64_md_release/tbbbind_2_5.lib 
C:\Windows\system32\cmd.exe /C "cd . && D:\bld\tbb_1753690339005\_build_env\Library\bin\cmake.exe -E vs_link_dll --msvc-ver=1944 --intdir=src\tbbbind\CMakeFiles\tbbbind_2_5.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\mt.exe --manifests  -- C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\link.exe /nologo src\tbbbind\CMakeFiles\tbbbind_2_5.dir\tbb_bind.cpp.obj src\tbbbind\CMakeFiles\tbbbind_2_5.dir\tbb_bind.rc.res  /out:msvc_19.44_cxx_64_md_release\tbbbind_2_5.dll /implib:msvc_19.44_cxx_64_md_release\tbbbind_2_5.lib /pdb:msvc_19.44_cxx_64_md_release\tbbbind_2_5.pdb /dll /version:3.13 /machine:x64 /INCREMENTAL:NO /DEF:"D:/bld/tbb_1753690339005/work/src/tbbbind/def/win64-tbbbind.def"  /DEPENDENTLOADFLAG:0x2000 /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /LTCG  D:\bld\tbb_1753690339005\_h_env\Library\lib\hwloc.lib  "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.26100.0\um\x64\Gdi32.Lib"  pthread.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK: command "C:\PROGRA~1\MICROS~2\2022\ENTERP~1\VC\Tools\MSVC\1444~1.352\bin\Hostx64\x64\link.exe /nologo src\tbbbind\CMakeFiles\tbbbind_2_5.dir\tbb_bind.cpp.obj src\tbbbind\CMakeFiles\tbbbind_2_5.dir\tbb_bind.rc.res /out:msvc_19.44_cxx_64_md_release\tbbbind_2_5.dll /implib:msvc_19.44_cxx_64_md_release\tbbbind_2_5.lib /pdb:msvc_19.44_cxx_64_md_release\tbbbind_2_5.pdb /dll /version:3.13 /machine:x64 /INCREMENTAL:NO /DEF:D:/bld/tbb_1753690339005/work/src/tbbbind/def/win64-tbbbind.def /DEPENDENTLOADFLAG:0x2000 /DYNAMICBASE /NXCOMPAT /INCREMENTAL:NO /LTCG D:\bld\tbb_1753690339005\_h_env\Library\lib\hwloc.lib C:\Program Files (x86)\Windows Kits\10\Lib\10.0.26100.0\um\x64\Gdi32.Lib pthread.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST:EMBED,ID=2" failed (exit code 1181) with the following output:
LINK : fatal error LNK1181: cannot open input file 'pthread.lib'
[48/49] Linking CXX shared library msvc_19.44_cxx_64_md_release\tbbmalloc_proxy.dll
[49/49] Linking CXX shared library msvc_19.44_cxx_64_md_release\tbb12.dll
ninja: build stopped: subcommand failed.
-- Install configuration: "Release"
-- Install component: "runtime"
-- Installing: D:/bld/tbb_1753690339005/_h_env/Library/bin/tbb12.dll
-- Installing: D:/bld/tbb_1753690339005/_h_env/Library/bin/tbbmalloc.dll
-- Installing: D:/bld/tbb_1753690339005/_h_env/Library/bin/tbbmalloc_proxy.dll
CMake Error at build/src/tbbbind/cmake_install.cmake:40 (file):
  file INSTALL cannot find
  "D:/bld/tbb_1753690339005/work/build/msvc_19.44_cxx_64_md_release/tbbbind_2_5.dll":
  No error.
Call Stack (most recent call first):
  build/cmake_install.cmake:78 (include)

@Krande

Krande commented Jul 28, 2025

Copy link
Copy Markdown

Hey @traversaro , it seems like adding the - winpthreads-devel # [win] dependency works for me when testing this locally just now. It's at least what was done on the main branch in 322f3d2#diff-f3725a55bf339595bf865fec73bda8ac99f283b0810c205442021f29c06eea9a

@traversaro

Copy link
Copy Markdown
Contributor Author

Hey @traversaro , it seems like adding the - winpthreads-devel # [win] dependency works for me when testing this locally just now. It's at least what was done on the main branch in 322f3d2#diff-f3725a55bf339595bf865fec73bda8ac99f283b0810c205442021f29c06eea9a

Thanks, I tried adding it in 8bb72ff .

@traversaro

Copy link
Copy Markdown
Contributor Author

@conda-forge-admin please rerender

@conda-forge-admin

Copy link
Copy Markdown
Contributor

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/16570991643. Examine the logs at this URL for more detail.

@Krande

Krande commented Jul 28, 2025

Copy link
Copy Markdown

@traversaro, I think you need to also add winpthreads-devel to the test requirements.

- ninja # [win]
- make # [not win]

@isaevil

isaevil commented Aug 7, 2025

Copy link
Copy Markdown
Contributor

Closed in favor of #147

@isaevil isaevil closed this Aug 7, 2025
@traversaro

Copy link
Copy Markdown
Contributor Author

Closed in favor of #147

Thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants