Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
c39761c5
Unverified
Commit
c39761c5
authored
Jun 13, 2024
by
Daniel Hiltgen
Committed by
GitHub
Jun 13, 2024
Browse files
Merge pull request #5032 from dhiltgen/actually_skip
Actually skip PhysX on windows
parents
15a687ae
aac36763
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
gpu/gpu.go
gpu/gpu.go
+1
-0
No files found.
gpu/gpu.go
View file @
c39761c5
...
@@ -296,6 +296,7 @@ func FindGPULibs(baseLibName string, defaultPatterns []string) []string {
...
@@ -296,6 +296,7 @@ func FindGPULibs(baseLibName string, defaultPatterns []string) []string {
// Nvidia PhysX known to return bogus results
// Nvidia PhysX known to return bogus results
if
strings
.
Contains
(
pattern
,
"PhysX"
)
{
if
strings
.
Contains
(
pattern
,
"PhysX"
)
{
slog
.
Debug
(
"skipping PhysX cuda library path"
,
"path"
,
pattern
)
slog
.
Debug
(
"skipping PhysX cuda library path"
,
"path"
,
pattern
)
continue
}
}
// Ignore glob discovery errors
// Ignore glob discovery errors
matches
,
_
:=
filepath
.
Glob
(
pattern
)
matches
,
_
:=
filepath
.
Glob
(
pattern
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment