Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MojitOS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sepia-pub
MojitOS
Merge requests
!8
configure: no capability detection with `-u` flag
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
configure: no capability detection with `-u` flag
final_patch
into
devel
Overview
0
Commits
1
Pipelines
1
Changes
1
Merged
Georges Da Costa
requested to merge
final_patch
into
devel
2 years ago
Overview
0
Commits
1
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Viewing commit
1dc25900
Show latest version
1 file
+
8
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
1dc25900
configure: no capability detection with `-u` flag
· 1dc25900
ghuter
authored
2 years ago
configure.sh
+
8
−
3
Options
@@ -130,8 +130,8 @@ detect_caps() {
if
[
-e
/usr/local/cuda/lib64
]
&&
[
-e
/usr/local/cuda/include
]
;
then
hdr_whitelist
=
"
${
hdr_whitelist
}
|nvidia_gpu"
NVML_LDFLAGS
=
"
-L/usr/local/cuda/lib64 -lnvidia-ml
"
NVML_IFLAGS
=
"
-I/usr/local/cuda/include
"
NVML_LDFLAGS
=
'
-L/usr/local/cuda/lib64 -lnvidia-ml
'
NVML_IFLAGS
=
'
-I/usr/local/cuda/include
'
fi
vendor
=
$(
awk
'/vendor_id/ {print $3; exit}'
/proc/cpuinfo
)
@@ -160,9 +160,14 @@ case $1 in
NVML_LDFLAGS
=
"-L/usr/local/cuda/lib64 -lnvidia-ml"
NVML_IFLAGS
=
"-I/usr/local/cuda/include"
;;
--unique
|
-u
)
unique
=
1
;;
esac
[
"
$all
"
]
||
detect_caps
if
!
[
"
$all
"
]
&&
!
[
"
$unique
"
]
;
then
detect_caps
fi
[
"
$all
"
]
||
while
[
"
$1
"
]
;
do
Loading