question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[bug] wildcards in profiles for env variables do not work

See original GitHub issue

Environment Details

  • Ubuntu 20.04
  • gcc/clang
  • 1.33.1
  • 3.8

Steps to reproduce

E.g. enhance the sample for profiles from the docs https://docs.conan.io/en/latest/reference/profiles.html:

[settings]
*@myuser/*:compiler=clang
*@myuser/*:compiler.version=3.5
*@myuser/*:compiler.libcxx=libstdc++11
compiler=gcc
compiler.version=4.9
compiler.libcxx=libstdc++11

[env]
*@myuser/*:CC=/usr/bin/clang
*@myuser/*:CXX=/usr/bin/clang++
CC=/usr/bin/gcc
CXX=/usr/bin/g++

If repeating the env variables with every package name (like in docs with e.g. zlib), it works as expected.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
memshardedcommented, Mar 3, 2021

Yes, sure, wildcard can be documented properly

0reactions
memshardedcommented, Mar 23, 2021

Merged https://github.com/conan-io/conan/pull/8688, this will be released in 1.35

Read more comments on GitHub >

github_iconTop Results From Across the Web

[bug] wildcards in profiles for env variables do not work · Issue ...
Hi @scddev , I have transferred this issue over to the conan-io/docs repository. I think it's a reasonable suggestion. Lets see what others...
Read more >
Scope wildcard for environment variables in auto devops ...
In my particular case AUTO_DEVOPS_BUILD_IMAGE_EXTRA_ARGS that set --build-arg=config_env=Review for environment configuration. Use * wildcard ...
Read more >
windows - %USERPROFILE% variable not working - Super User
The %UserProfile% variable is a special system-wide environment variable that is complete in and of itself.
Read more >
dotnet publish doesn´t publish correct appsettings.{env ...
Final step. Run publishing. enter image description here. Note: publishing profile environment variables do not affect publishing configuration.
Read more >
Configuration — Snakemake 7.19.1 documentation
The parameters in the cluster config are then accessed by the cluster.* wildcard when you are submitting jobs. Note that a workflow shall...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found