FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
simple-binary-encoding/cppbuild/cppbuild at master · sullis/simple-binary-encoding · GitHub
sullis
/
simple-binary-encoding
Public
forked from
aeron-io/simple-binary-encoding
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
simple-binary-encoding
/
cppbuild
/
cppbuild
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
25 lines (19 loc) · 508 Bytes
Breadcrumbs
simple-binary-encoding
/
cppbuild
/
cppbuild
Copy path
File metadata and controls
executable file
·
25 lines (19 loc) · 508 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!
/usr/bin/env bash
SOURCE_DIR=
"
`
pwd
`
"
BUILD_DIR=
"
`
pwd
`
/cppbuild/Release
"
ncpus=1
case
"
`
uname
`
"
in
Darwin
*
)
ncpus=
`
sysctl -n hw.ncpu
`
;;
Linux
*
)
ncpus=
$(
lscpu -p
|
egrep -v
'
^#
'
|
wc -l
)
;;
esac
echo
"
Will make with
\"
-j
$ncpus
\"
.
"
if
[
-d
"
$BUILD_DIR
"
]
;
then
echo
"
Build directory (
$BUILD_DIR
) exists, removing.
"
rm -rf
$BUILD_DIR
fi
mkdir -p
$BUILD_DIR
(cd
$BUILD_DIR
&&
cmake -G
"
Unix Makefiles
"
$SOURCE_DIR
&&
make clean
&&
make -j
"
$ncpus
"
all
&&
ctest -C Release)
Back
|
FazBrowse Home
|
New Git URL