Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cspp-sdr-binary
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container 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
cspp-public-distro
cspp-sdr-binary
Commits
1ce35285
Commit
1ce35285
authored
10 months ago
by
Scott Mindock
Browse files
Options
Downloads
Patches
Plain Diff
where
parent
b683299a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#51042
passed with warnings with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
distro/scripts/adl_cots.sh
+12
-11
12 additions, 11 deletions
distro/scripts/adl_cots.sh
with
12 additions
and
11 deletions
distro/scripts/adl_cots.sh
+
12
−
11
View file @
1ce35285
...
...
@@ -65,7 +65,7 @@ echo "PATH" $PATH
export
LD_LIBRARY_PATH
=
${
USER_COTS_PATH
}
/lib64:
${
USER_COTS_PATH
}
/lib:
${
LD_LIBRARY_PATH
}
export
LD_RUN_PATH
=
${
USER_COTS_PATH
}
/lib64:
${
USER_COTS_PATH
}
/lib:
${
LD_RUN_PATH
}
export
PATH
=
${
USER_COTS_PATH
}
/bin:
$PATH
export
LDFLAGS
=
"-L
${
USER_COTS_PATH
}
/lib "
install_the_source
(){
echo
${
FUNCNAME
[0]
}
# This will download and unpack the requested COT. If the cot is already present it will not be downloaded.
...
...
@@ -473,7 +473,7 @@ mk_hl_region()
export
HDF5_INSTALL_DIR
=
${
USER_COTS_PATH
}
&&
\
linc
=
`
pwd
`
&&
\
make clean
&&
\
make
CC
=
$CC
INCLUDES
=
"
$CPPFLAGS
-I
${
USER_COTS_PATH
}
/include -I
$linc
/src
$LDFLAGS
-lhdf5 -lhdf5_hl -lm"
&&
\
make
CC
=
$CC
INCLUDES
=
"
$CPPFLAGS
-I
${
USER_COTS_PATH
}
/include -I
$linc
/src
$LDFLAGS
-lhdf5 -lhdf5_hl -lm"
&&
\
make
PREFIX
=
${
USER_COTS_PATH
}
install
&&
\
echo
"
${
FUNCNAME
[0]
}
finished"
&&
\
return
0
...
...
@@ -552,19 +552,20 @@ _rpath_setter() {
DESIRED_RPATH
=
$1
ORIGIN_DIRECTORY
=
$2
cd
"
${
ORIGIN_DIRECTORY
}
"
cd
$
ORIGIN_DIRECTORY
#EXES=$(ls *)
EXES
=
$(
find
"
${
ORIGIN_DIRECTORY
}
"
-type
f
-perm
-700
)
printf
"Desired %s
\n
"
$DESIRED_RPATH
printf
"Desired %s
\n
"
'
$DESIRED_RPATH
'
for
exe
in
${
EXES
}
;
do
printf
"Start for %s
\n
"
$exe
#patchelf --remove-rpath $exe
patchelf
--set-rpath
${
DESIRED_RPATH
}
${
exe
}
patchelf
--shrink-rpath
${
exe
}
printf
"Final for %s
\n
"
${
exe
}
patchelf
--print-rpath
${
exe
}
ldd
${
exe
}
if
[
-e
"
$exe
"
]
;
then
#printf "Start for %s\n" $exe
patchelf
--set-rpath
$DESIRED_RPATH
$exe
patchelf
--shrink-rpath
$exe
printf
"Set rpath for %s
\n
"
$exe
#patchelf --print-rpath $exe
#ldd $exe
fi
done
}
export
ADL_HOME
=
${
COTSBASE
}
/libexec/ADL
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment