Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
e670c6d6
Commit
e670c6d6
authored
Jul 24, 2011
by
claes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pwra_env.sh 'set base' cross compilation bugfix
parent
8a293c33
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
45 additions
and
24 deletions
+45
-24
src/tools/pkg/deb/adm/pwra_env.sh
src/tools/pkg/deb/adm/pwra_env.sh
+1
-1
src/tools/pkg/deb_x86_64/adm/pwra_env.sh
src/tools/pkg/deb_x86_64/adm/pwra_env.sh
+14
-7
src/tools/pkg/deb_x86_64/deb/adm/pwra_env.sh
src/tools/pkg/deb_x86_64/deb/adm/pwra_env.sh
+14
-7
src/tools/pkg/ubu/adm/pwra_env.sh
src/tools/pkg/ubu/adm/pwra_env.sh
+1
-1
src/tools/pkg/ubu_x86_64/adm/pwra_env.sh
src/tools/pkg/ubu_x86_64/adm/pwra_env.sh
+14
-7
wb/lib/wb/src/wb_lfu.cpp
wb/lib/wb/src/wb_lfu.cpp
+1
-1
No files found.
src/tools/pkg/deb/adm/pwra_env.sh
View file @
e670c6d6
...
...
@@ -28,7 +28,7 @@ pwra_set_func()
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
el
se
el
if
[
"
$3
"
!=
"cross"
]
;
then
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
...
...
src/tools/pkg/deb_x86_64/adm/pwra_env.sh
View file @
e670c6d6
...
...
@@ -28,7 +28,7 @@ pwra_set_func()
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
el
se
el
if
[
"
$3
"
!=
"cross"
]
;
then
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
...
...
@@ -116,14 +116,21 @@ EOF
pwra_parse
()
{
unamestr
=
`
eval uname
`
machine
=
`
eval uname
-m
`
if
[
"
$machine
"
!=
"x86_64"
]
;
then
machine
=
"x86"
if
[
$unamestr
==
"Darwin"
]
;
then
os
=
"os_macos"
hw
=
"hw_x86_64"
elif
[
$unamestr
==
"FreeBSD"
]
;
then
os
=
"os_freebsd"
hw
=
"hw_x86_64"
else
if
[
$machine
!=
"x86_64"
]
;
then
machine
=
"x86"
fi
os
=
"os_linux"
hw
=
"hw_"
$machine
fi
platform
=
$machine
"_linux"
os
=
"os_linux"
hw
=
"hw_"
$machine
#mysql_socket="--socket /var/lib/mysql/mysql.sock"
local
cmd
...
...
src/tools/pkg/deb_x86_64/deb/adm/pwra_env.sh
View file @
e670c6d6
...
...
@@ -28,7 +28,7 @@ pwra_set_func()
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
el
se
el
if
[
"
$3
"
!=
"cross"
]
;
then
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
...
...
@@ -116,14 +116,21 @@ EOF
pwra_parse
()
{
unamestr
=
`
eval uname
`
machine
=
`
eval uname
-m
`
if
[
"
$machine
"
!=
"x86_64"
]
;
then
machine
=
"x86"
if
[
$unamestr
==
"Darwin"
]
;
then
os
=
"os_macos"
hw
=
"hw_x86_64"
elif
[
$unamestr
==
"FreeBSD"
]
;
then
os
=
"os_freebsd"
hw
=
"hw_x86_64"
else
if
[
$machine
!=
"x86_64"
]
;
then
machine
=
"x86"
fi
os
=
"os_linux"
hw
=
"hw_"
$machine
fi
platform
=
$machine
"_linux"
os
=
"os_linux"
hw
=
"hw_"
$machine
#mysql_socket="--socket /var/lib/mysql/mysql.sock"
local
cmd
...
...
src/tools/pkg/ubu/adm/pwra_env.sh
View file @
e670c6d6
...
...
@@ -28,7 +28,7 @@ pwra_set_func()
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
el
se
el
if
[
"
$3
"
!=
"cross"
]
;
then
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
...
...
src/tools/pkg/ubu_x86_64/adm/pwra_env.sh
View file @
e670c6d6
...
...
@@ -28,7 +28,7 @@ pwra_set_func()
baseroot
=
${
baseroot
%/
}
if
[
!
-e
"
$baseroot
"
]
;
then
echo
"Base
$baseroot
doesn't exist"
el
se
el
if
[
"
$3
"
!=
"cross"
]
;
then
if
[
!
-e
$baseroot
/
$os
/
$hw
/exp/exe/pwrp_env.sh
]
;
then
echo
"Not a base directory:
$baseroot
"
return
...
...
@@ -116,14 +116,21 @@ EOF
pwra_parse
()
{
unamestr
=
`
eval uname
`
machine
=
`
eval uname
-m
`
if
[
"
$machine
"
!=
"x86_64"
]
;
then
machine
=
"x86"
if
[
$unamestr
==
"Darwin"
]
;
then
os
=
"os_macos"
hw
=
"hw_x86_64"
elif
[
$unamestr
==
"FreeBSD"
]
;
then
os
=
"os_freebsd"
hw
=
"hw_x86_64"
else
if
[
$machine
!=
"x86_64"
]
;
then
machine
=
"x86"
fi
os
=
"os_linux"
hw
=
"hw_"
$machine
fi
platform
=
$machine
"_linux"
os
=
"os_linux"
hw
=
"hw_"
$machine
#mysql_socket="--socket /var/lib/mysql/mysql.sock"
local
cmd
...
...
wb/lib/wb/src/wb_lfu.cpp
View file @
e670c6d6
...
...
@@ -2607,7 +2607,7 @@ pwr_tStatus lfu_SaveDirectoryVolume(
fprintf
(
fp
,
"let OpSys_ARM_LINUX=256
\n\n
"
);
if
(
strcmp
(
release
,
""
)
!=
0
)
fprintf
(
fp
,
"source $pwra_db/pwra_env.sh set base %s
\n\n
"
,
release
);
fprintf
(
fp
,
"source $pwra_db/pwra_env.sh set base %s
cross
\n\n
"
,
release
);
if
(
strcmp
(
cc
,
""
)
!=
0
)
{
fprintf
(
fp
,
"export pwre_cc=%s
\n
"
,
cc
);
...
...
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