-
Notifications
You must be signed in to change notification settings - Fork 48
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
[INSTALL]: GitHub CLI #1105
Comments
gh v2.49.2 is now in spack mainline. I'm planning a PR for gh 2.50.0 now. |
global-workflow needs version 2.28 or something close |
@TerrenceMcGuinness-NOAA - I'm a little confused on this issue. GitHub CLI 2.28 is a bit over 2 years old and is missing quite a few features and bug-fixes in the current release. Can global-workflow be updated to use a more recent version of the CLI? |
@climbfuji The latest version of gh-cli is fine in ss-1.8.0 |
Thanks @aerorahul! @eap do you want to go ahead and add a recent version of gh cli? |
Adding an update to track status: the |
Query: How does golang break intel? I mean...I've built go programs on Intel chips before. |
|
Ohhh. Intel the compiler! I've been thinking about chips too long. Makes more sense now. :) |
I'm assigning this to Steven G who should have a chance to look at it next sprint. If this is a straightforward fix as expected I'd expect this to be in for 1.9. But I'll hedge a little here and wait for Steve's assessment of points once he's had time to look at it in depth. |
I took a look into this, and it looks like updating the [...]
packages:
all:
prefer: ['%gcc', '%intel']
providers:
gh: [go, go-bootstrap] Which could be added by: spack config add "packages:all:prefer:['%gcc','%intel']"
spack config add "packages:all:providers:gh:[go,go-bootstrap]" The spack spec:
I tested this a few times with an intel environment of spack-stack-1.8. What would be the best way to add this to the global-work? |
I am confused by the line There can only be one preferred compiler. I guess the other missing piece for you probably is to add a specific requirement to always build |
I was following spack documentation on a path to make it work, and this is what I gathered from that I forgot to mention that I did a I was reading spack documentation on how to prefer specific compilers for packages and this is what I came up with that worked. I'll try out specifying |
Providers are virtual packages that can satisfy dependencies for the virtual package with several backends.
There is no virtual package |
Or, in other words, the line |
You’re right! I misread the documentation from Spack on it. How it worked for me I don’t know.
So we can safely ignore my previous comment. I’ll update local package.yml to require gcc and make sure it works that way.
… On Nov 15, 2024, at 10:09 AM, Dom Heinzeller ***@***.***> wrote:
Providers are virtual packages that can satisfy dependencies for the virtual package with several backends.
$ spack providers
Virtual packages:
D blas daal flame fuse go-or-gccgo-bootstrap ipp lapack libglx lua-lang mkl mysql-client pbs qmake sycl unwind xxd zlib-api
armci c elf fortran gl golang java libc libifcore luajit mpe onedal pil rpc szip uuid yacc
awk cxx fftw-api fortran-rt glu iconv jpeg libgfortran libllvm mariadb-client mpi opencl pkgconfig scalapack tbb wasi-sdk ziglang
There is no virtual package gh. Can you share the link that told you to specify gh as a virtual package?
—
Reply to this email directly, view it on GitHub <#1105 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAEJ6FNQBHJP7NOOTPOTR3D2AYTCZAVCNFSM6AAAAABHJPLUXWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINZZGQ2TQMBQGI>.
You are receiving this because you were assigned.
|
This change adds the GitHub CLI to the global workflow env. Go language based dependencies don't compile on the intel stack, so some intel-specific config has been added to force the use of an alternate GCC compiler. This change has been tested in GCC and Intel on an Ubuntu 24.04 site config. ### Testing As above, tested in Ubuntu on GCC/Intel ### Applications affected Global Workflow Env. ### Systems affected N/A ### Dependencies None ### Issue(s) addressed Fixes: #1105 ### Checklist - [x] This PR addresses one issue/problem/enhancement, or has a very good reason for not doing so. - [x] These changes have been tested on the affected systems and applications. - [x] All dependency PRs/issues have been resolved and this PR can be merged.
Package name
gh
Package version/tag
v2.28.0
Build options
None
Installation timeframe
Only needed on all supported RDHPCS systems. Already in lmod on WCOSS2.
Other information
No response
WCOSS2
WCOSS2: General questions
No response
WCOSS2: Installation and testing
No response
WCOSS2: Technical & security review list
WCOSS2: Additional comments
No response
The text was updated successfully, but these errors were encountered: