summaryrefslogtreecommitdiffstats
path: root/scripts/build-extras.sh
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-12-11 11:32:51 +0100
committerMauro Sardara <msardara@cisco.com>2019-12-11 11:32:51 +0100
commit7631d5c804f61e618deb9e48ecb2458c77d36577 (patch)
treec701bebd28116498dc67d1c25fd4589070737133 /scripts/build-extras.sh
parent5791faa77560d4d81541ee18d5db198875910708 (diff)
[HICN-430] Do not install cmake on arm slaves.
Change-Id: I315862308d27fad6420bbce35de0fd6ad17a3240 Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'scripts/build-extras.sh')
-rw-r--r--scripts/build-extras.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/build-extras.sh b/scripts/build-extras.sh
index 2efb0ba36..9b768d55b 100644
--- a/scripts/build-extras.sh
+++ b/scripts/build-extras.sh
@@ -93,7 +93,10 @@ setup() {
echo DISTRIBUTION: ${PRETTY_NAME}
echo ARCHITECTURE: $(uname -m)
- install_cmake
+ ARCH=`uname -m`
+ if [ "$ARCH" == "x86_64" ] || [ "$ARCH" == "x86" ]; then
+ install_cmake
+ fi
setup_fdio_repo ${DISTRIB_ID}
if [ "${DISTRIB_ID}" == "ubuntu" ]; then