Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
onlyoffice_core
Commits
cb798f59
Commit
cb798f59
authored
Nov 15, 2016
by
Alexey Golubev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip fetch and build boost if it already done
parent
0c4b3b78
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
27 deletions
+25
-27
Common/3dParty/boost/build.sh
Common/3dParty/boost/build.sh
+24
-26
Common/3dParty/boost/fetch.sh
Common/3dParty/boost/fetch.sh
+1
-1
No files found.
Common/3dParty/boost/build.sh
100644 → 100755
View file @
cb798f59
...
@@ -24,32 +24,30 @@ outputdir="$SCRIPTPATH/boost_1_58_0/build/$platform$arch"
...
@@ -24,32 +24,30 @@ outputdir="$SCRIPTPATH/boost_1_58_0/build/$platform$arch"
echo
$outputdir
echo
$outputdir
cd
"
$SCRIPTPATH
/boost_1_58_0"
cd
"
$SCRIPTPATH
/boost_1_58_0"
./bootstrap.sh
--with-libraries
=
filesystem,system,date_time,regex
folder
=
"build/
$platform$arch
"
folder
=
"build/
$platform$arch
"
if
[
-d
$folder
]
;
then
if
[
!
-d
$folder
]
;
then
rm
-R
$folder
./bootstrap.sh
--with-libraries
=
filesystem,system,date_time,regex
stage
=
"stage"
if
[
-d
$stage
]
;
then
rm
-R
$stage
fi
mkdir
-p
"
$folder
"
mkdir
-p
"
$folder
/static"
mkdir
-p
"
$folder
/static_fpic"
mkdir
-p
"
$folder
/shared"
./b2
--clean
./bjam
link
=
static
cp
stage/lib/
*
"
$folder
/static/"
./b2
--clean
./bjam
link
=
static
cxxflags
=
-fPIC
cp
stage/lib/
*
"
$folder
/static_fpic/"
./b2
--clean
./bjam
link
=
shared
cp
stage/lib/
*
"
$folder
/shared/"
fi
fi
stage
=
"stage"
if
[
-d
$stage
]
;
then
rm
-R
$stage
fi
mkdir
-p
"
$folder
"
mkdir
-p
"
$folder
/static"
mkdir
-p
"
$folder
/static_fpic"
mkdir
-p
"
$folder
/shared"
./b2
--clean
./bjam
link
=
static
cp
stage/lib/
*
"
$folder
/static/"
./b2
--clean
./bjam
link
=
static
cxxflags
=
-fPIC
cp
stage/lib/
*
"
$folder
/static_fpic/"
./b2
--clean
./bjam
link
=
shared
cp
stage/lib/
*
"
$folder
/shared/"
Common/3dParty/boost/fetch.sh
View file @
cb798f59
...
@@ -29,7 +29,7 @@ else
...
@@ -29,7 +29,7 @@ else
wget http://freefr.dl.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.7z
wget http://freefr.dl.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.7z
fi
fi
if
[
-d
"
$SCRIPTPATH
/boost"
]
;
then
if
[
-d
"
$SCRIPTPATH
/boost
_1_58_0
"
]
;
then
echo
"boost already extracted"
echo
"boost already extracted"
else
else
if
[[
"
$platform
"
==
*
"linux"
*
]]
if
[[
"
$platform
"
==
*
"linux"
*
]]
...
...
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