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
ff835906
Commit
ff835906
authored
Jul 14, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
boost fetch & build
parent
cf2aaa04
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
0 deletions
+68
-0
.gitignore
.gitignore
+1
-0
Common/3dParty/boost/build.sh
Common/3dParty/boost/build.sh
+50
-0
Common/3dParty/boost/fetch.sh
Common/3dParty/boost/fetch.sh
+17
-0
No files found.
.gitignore
View file @
ff835906
...
...
@@ -2,6 +2,7 @@ build/
dictionaries/
LicenceManager/
Common/boost_1_58_0
Common/3dParty/boost/boost_1_58_0
**/Release
**/Debug
*.user
...
...
Common/3dParty/boost/build.sh
0 → 100644
View file @
ff835906
#!/bin/bash
SCRIPT
=
$(
readlink
-f
"
$0
"
)
SCRIPTPATH
=
$(
dirname
"
$SCRIPT
"
)
os
=
$(
uname
-s
)
platform
=
""
case
"
$os
"
in
Linux
*
)
platform
=
"linux"
;;
Darwin
*
)
platform
=
"mac"
;;
*
)
exit
;;
esac
architecture
=
$(
uname
-m
)
arch
=
""
case
"
$architecture
"
in
x86_64
*
)
arch
=
"_64"
;;
*
)
arch
=
"_32"
;;
esac
outputdir
=
"
$SCRIPTPATH
/boost_1_58_0/build/
$platform$arch
"
echo
$outputdir
cd
"
$SCRIPTPATH
/boost_1_58_0"
./bootstrap.sh
--with-libraries
=
filesystem,system
folder
=
"build/
$platform$arch
"
if
[
-d
$folder
]
;
then
rm
-R
$folder
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
0 → 100644
View file @
ff835906
#!/bin/bash
SCRIPT
=
$(
readlink
-f
"
$0
"
)
SCRIPTPATH
=
$(
dirname
"
$SCRIPT
"
)
if
[[
-f
"
$SCRIPTPATH
/boost_1_58_0.7z"
]]
then
echo
"boost already downloaded"
else
wget http://freefr.dl.sourceforge.net/project/boost/boost/1.58.0/boost_1_58_0.7z
fi
if
[
-d
"
$SCRIPTPATH
/boost"
]
;
then
echo
"boost already extracted"
else
7z x
"
$SCRIPTPATH
/boost_1_58_0.7z"
-o
"
$SCRIPTPATH
/"
fi
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