Commit 8b09e59
authored
[SYCL][Driver] Respect -nocudalib again after bad merge conflict resolution (#19216)
[fc26ef4][1] is a bad resolution
`--offloadlib` is a positive option to explicitly link offload device
libraries (usually on by default), while the option it replaced
(`-nogpulib`) was the negative option to disable linking them.
To behave correctly, we need to consider both positive and negative
options.
The test did not catch this because the filecheck CHECK-NOT directive
had a typo. Fix that as well.
[1]:
intel/llvm@fc26ef4#diff-f8c64e36dfe3828a6f816c4550e78bb0305769ace1be53207e86ac9a3280ac9eR62911 parent 27f4252 commit 8b09e59
2 files changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5993 | 5993 | | |
5994 | 5994 | | |
5995 | 5995 | | |
5996 | | - | |
| 5996 | + | |
| 5997 | + | |
| 5998 | + | |
5997 | 5999 | | |
5998 | 6000 | | |
5999 | 6001 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
0 commit comments