[LU-17467] Incorrect checks for Nvidia libraries in configure Created: 24/Jan/24 Updated: 26/Jan/24 |
|
| Status: | In Progress |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | Jean-Baptiste Skutnik | Assignee: | Jean-Baptiste Skutnik |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Linux arcV 6.7.0-arch3-1 #1 SMP PREEMPT_DYNAMIC Sat, 13 Jan 2024 14:37:14 +0000 x86_64 GNU/Linux (Host) |
||
| Severity: | 3 |
| Rank (Obsolete): | 9223372036854775807 |
| Description |
|
Hello all, I was compiling lustre in a container and came across what I think is an error in the configure script. I have a nvidia gpu installed on the machine. I am trying to replicate a minimal build environment in a container and thus am not installing cuda in it. When configuring, I set `--disable-server --disable-tests`. Got a Cuda error, no big deal, went to disable. I tried the following: `- Turns out they are, because both gave me the same error: Looking at the code, it seems disabling them sets their value to 'no', and the code checks for an empty parameter. It is set to 'no', so the code proceeds with them defined. `lnet/autoconf/lustre-lnet.m4`: ```c Note the `test -n`. So yeah I thought that was worth reporting if there are no objections I would love to patch this out let me know how to proceed ! |
| Comments |
| Comment by Jean-Baptiste Skutnik [ 24/Jan/24 ] |
|
Meant to say that this is on a fresh pull of the git, lustre-release> git describe |
| Comment by Gerrit Updater [ 26/Jan/24 ] |
|
"Jean-Baptiste Skutnik <jb.skutnik@gmail.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/53832 |