Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
81e015d1
Commit
81e015d1
authored
Aug 26, 2018
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Android super-test build.
parent
eb635bf0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
super-test.sh
super-test.sh
+3
-1
No files found.
super-test.sh
View file @
81e015d1
...
...
@@ -126,7 +126,9 @@ while [ $# -gt 0 ]; do
android
)
# To install Android SDK:
# - Download command-line tools: https://developer.android.com/studio/index.html#command-tools
# - export SDKMANAGER_OPTS="--add-modules java.se.ee"
# - Run $SDK_HOME/tools/bin/sdkmanager platform-tools 'platforms;android-25' 'system-images;android-25;google_apis;armeabi-v7a' emulator 'build-tools;25.0.2' ndk-bundle
# - export AVDMANAGER_OPTS="--add-modules java.se.ee"
# - Run $SDK_HOME/tools/bin/avdmanager create avd -n capnp -k 'system-images;android-25;google_apis;armeabi-v7a' -b google_apis/armeabi-v7a
# - Run $SDK_HOME/ndk-bundle/build/tools/make_standalone_toolchain.py --arch arm --api 24 --install-dir $TOOLCHAIN_HOME
if
[
"$#"
-ne
4
]
;
then
...
...
@@ -148,7 +150,7 @@ while [ $# -gt 0 ]; do
export
PATH
=
"
$TOOLCHAIN_HOME
/bin:
$PATH
"
doit make distclean
doit ./configure
--host
=
"
$CROSS_HOST
"
--with-external-capnp
--disable-shared
CXXFLAGS
=
'-pie -fPIE
'
CAPNP
=
./capnp-host
CAPNPC_CXX
=
./capnpc-c++-host
doit ./configure
--host
=
"
$CROSS_HOST
"
CC
=
clang
CXX
=
clang++
--with-external-capnp
--disable-shared
CXXFLAGS
=
'-fPIE'
LDFLAGS
=
'-pie'
LIBS
=
'-static-libstdc++ -static-libgcc -ldl
'
CAPNP
=
./capnp-host
CAPNPC_CXX
=
./capnpc-c++-host
doit make
-j
$PARALLEL
doit make
-j
$PARALLEL
capnp-test
...
...
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