-
Notifications
You must be signed in to change notification settings - Fork 3
Updates to fix defaults-architecture. #66
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
Conversation
9aa1c23 to
8b9c796
Compare
9f44288 to
f10354d
Compare
|
@ktf, @Ni-Langguth - can you check this PR to make sure it does not do something backwards incompatible with ALICE and is in line with what is needed by LCG? |
|
Hi, I tested this with our CI and found that the build requires 'default-$architecture.sh' on this branch. Is this intentional, and if so, could this requirement be made optional? |
…n `parseDefaults` for default-architecture.
Hi @Ni-Langguth bits build --defaults cms::o2 gcc --force-unknown-architecture --architecture=x86-64-alma9-gcc15-dbg -w temp -c cms.bits
==> Configured directory:
/home/akbehera/Desktop/repositories/repositories/cms.bits
==> Package Recipe will be searched in the following order
cms,bits
```
|
|
I
I am puzzled why in this example you search cms.bits and bits.bits directories - bits.bits was not specified on the command line. The standard workflow I was imagining was to place bits.rc in cms.bits, cd to cms.bits, search for recipes in $PWD and in all directories specified by the search_path defined in bits.rc. Since we agreed last time to pull together all recipes, there is now a common bits that has everything merged in one place, so search_path=common would in bits.rc would do the trick. If you relly do not want to put bits.rc in cms.bits, you can check out common.bits and point BITS_PATH to it, or we need another argument to set up search_path. |
|
BTW, this branch has conflicts that need to be resolved. |
I have a $HOME/.bitsrc file setup which which does the same thing as providing a bits.rc through CLI. |
|
Sorry about the late response, this works for me as well. |
This fixes the broken default-architecture for bits it searches for defaults-architecture in configured directory if it exists it merges them defaults-release or any other default provided through --defaults in CLI.
If defaults-architecture exists it will take precedence over other values which is similar to aliBuild behavior.
Resolves #60