Skip to content

Commit

Permalink
Merge pull request #839 from mvglasow/github827
Browse files Browse the repository at this point in the history
 Fix:toolchain:Remove privileged operation from build script
  • Loading branch information
mvglasow committed Aug 22, 2019
2 parents fade062 + 09cba67 commit 5e644da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ jobs:
name: Id
command: cat /etc/*release
- run:
name: Install cmake gettext libsaxonb-java librsvg2-bin pkg-config rename
name: Install ant cmake gettext libsaxonb-java librsvg2-bin pkg-config rename
command: |
sudo apt-get update
sudo apt-get install -y cmake gettext libsaxonb-java librsvg2-bin pkg-config rename
sudo apt-get install -y ant cmake gettext libsaxonb-java librsvg2-bin pkg-config rename
- run:
name: Install Android SDK components
command: sdkmanager "cmake;3.6.4111459"
Expand Down
4 changes: 2 additions & 2 deletions scripts/build_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ export JVM_OPTS="-Xmx3200m"
export GRADLE_OPTS='-Dorg.gradle.jvmargs="-Xmx2048m -XX:+HeapDumpOnOutOfMemoryError"'

# processing xml is messed up a bit after the original introduction of gradle
# so a useless install of ant here even if using gradle/ninja
# so require a useless install of ant here even if using gradle/ninja

sudo apt-get install -y ant
which ant > /dev/null || { echo "FATAL: ant is not installed; install manually and retry." >&2; exit 1; }

echo Run CMake
test -z "$PKG_CONFIG_LIBDIR" && export PKG_CONFIG_LIBDIR="" # Force cmake below to run ignore build host libraries when using pkgconfig.
Expand Down

0 comments on commit 5e644da

Please sign in to comment.