Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link VC++ runtime statically #27134

Closed

Conversation

olpipi
Copy link
Contributor

@olpipi olpipi commented Oct 18, 2024

Details:

  • item1
  • ...

Tickets:

  • ticket-id

@olpipi olpipi requested review from a team as code owners October 18, 2024 14:19
@github-actions github-actions bot added category: build OpenVINO cmake script / infra category: CI OpenVINO public CI github_actions Pull requests that update GitHub Actions code labels Oct 18, 2024
@ilya-lavrenov
Copy link
Contributor

Please, make CI green

@ilya-lavrenov ilya-lavrenov self-assigned this Oct 23, 2024
@ilya-lavrenov ilya-lavrenov added this to the 2024.4 milestone Oct 23, 2024
if (build_type STREQUAL "_DEBUG")
set(${flag_var_noninit} "${${flag_var_noninit}} /MTd")
string(APPEND ${flag_var} " /NODEFAULTLIB:libucrtd.lib /DEFAULTLIB:ucrtd.lib")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we linking components with deferent versions of CRT? (linker #pragmas)
Please document why is that needed.

Copy link
Contributor

@lmielick lmielick Oct 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linking with /verbose:lib might help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: build OpenVINO cmake script / infra category: CI OpenVINO public CI github_actions Pull requests that update GitHub Actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants