guberti commented on a change in pull request #8504:
URL: https://github.com/apache/tvm/pull/8504#discussion_r678672938



##########
File path: docker/install/ubuntu_install_arduino.sh
##########
@@ -0,0 +1,35 @@
+#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+set -e
+set -u
+set -o pipefail
+
+export DEBIAN_FRONTEND=noninteractive
+apt-get update --fix-missing
+apt-get install -y ca-certificates
+
+# Install arduino-cli latest version
+wget -O - 
https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | sh -s
+
+# Board manager URLs, separated by semicolons
+BOARD_MANAGER_URLS=https://github.com/sonydevworld/spresense-arduino-compatible/releases/download/generic/package_spresense_index.json

Review comment:
       Tweaked a little to make it clearer what depends on what. We only need 
to specify the `--additional-urls` flag when we run `arduino-cli core install` 
right below - after that, further commands don't need the flag or a network 
connection.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to