[GitHub] [incubator-nuttx-testing] liuguo09 commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373755057
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
+install+=("if [ ! -d \"$prebuilt/ccache/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz; \
+ tar zxf ccache-3.7.7.tar.gz; \
+ cd ccache-3.7.7; ./configure --prefix=$prebuilt/ccache; make; 
make install; \
+ cd $prebuilt; rm -rf ccache-3.7.7; rm ccache-3.7.7.tar.gz; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/g++; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-g++; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/p32-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-g++; \
+   fi; \
+   ccache --version; \
+   export USE_CCACHE=1; \
+   export CCACHE_DIR=$prebuilt/ccache/.ccache; \
+   ccache -M 5G; \
+ 

[GitHub] [incubator-nuttx-testing] liuguo09 commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373754886
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
 
 Review comment:
   I'm doing check/full build in local machine with ccache enable/disable to 
see the check/full build results. Still need some time.I think it would be fine 
to provide ccache enable/disable option.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx-testing] liuguo09 commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373754417
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
+install+=("if [ ! -d \"$prebuilt/ccache/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz; \
+ tar zxf ccache-3.7.7.tar.gz; \
+ cd ccache-3.7.7; ./configure --prefix=$prebuilt/ccache; make; 
make install; \
+ cd $prebuilt; rm -rf ccache-3.7.7; rm ccache-3.7.7.tar.gz; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/g++; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-g++; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/p32-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-g++; \
+   fi; \
+   ccache --version; \
+   export USE_CCACHE=1; \
+   export CCACHE_DIR=$prebuilt/ccache/.ccache; \
+   ccache -M 5G; \
+ 

[GitHub] [incubator-nuttx-testing] liuguo09 commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373754426
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
+install+=("if [ ! -d \"$prebuilt/ccache/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz; \
+ tar zxf ccache-3.7.7.tar.gz; \
+ cd ccache-3.7.7; ./configure --prefix=$prebuilt/ccache; make; 
make install; \
+ cd $prebuilt; rm -rf ccache-3.7.7; rm ccache-3.7.7.tar.gz; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/g++; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-g++; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/p32-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-g++; \
+   fi; \
+   ccache --version; \
+   export USE_CCACHE=1; \
+   export CCACHE_DIR=$prebuilt/ccache/.ccache; \
+   ccache -M 5G; \
+ 

[GitHub] [incubator-nuttx-testing] liuguo09 commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373753662
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
+install+=("if [ ! -d \"$prebuilt/ccache/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz; \
+ tar zxf ccache-3.7.7.tar.gz; \
+ cd ccache-3.7.7; ./configure --prefix=$prebuilt/ccache; make; 
make install; \
+ cd $prebuilt; rm -rf ccache-3.7.7; rm ccache-3.7.7.tar.gz; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/g++; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-g++; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/p32-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-g++; \
+   fi; \
+   ccache --version; \
+   export USE_CCACHE=1; \
+   export CCACHE_DIR=$prebuilt/ccache/.ccache; \
+   ccache -M 5G; \
+ 

[GitHub] [incubator-nuttx-testing] liuguo09 commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373752381
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
+install+=("if [ ! -d \"$prebuilt/ccache/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz; \
+ tar zxf ccache-3.7.7.tar.gz; \
+ cd ccache-3.7.7; ./configure --prefix=$prebuilt/ccache; make; 
make install; \
+ cd $prebuilt; rm -rf ccache-3.7.7; rm ccache-3.7.7.tar.gz; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/g++; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-g++; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/p32-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-g++; \
+   fi; \
+   ccache --version; \
+   export USE_CCACHE=1; \
+   export CCACHE_DIR=$prebuilt/ccache/.ccache; \
+   ccache -M 5G; \
+ 

[GitHub] [incubator-nuttx-testing] liuguo09 commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373751808
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
 
 Review comment:
   Yes, check the binary generated is more correctly. 


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx-testing] liuguo09 commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373751725
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
 
 Review comment:
   same as above.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx-testing] liuguo09 commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373751664
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
 
 Review comment:
   I think there should be sudo permissions to apt install genromfs and others 
in apache jenkins slaves, it would be hard to get and maintain. So use our 
owned prebuilt tools may be safer.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx-testing] liuguo09 commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373751413
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env bash
+
 
 Review comment:
   That's right. set -x and -e would be good to debug.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx-testing] maht commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
maht commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373740847
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
 
 Review comment:
   check the binary generated is ok? (like in previous case with `genromfs`)


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx-testing] maht commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
maht commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373740886
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
+install+=("if [ ! -d \"$prebuilt/ccache/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz; \
+ tar zxf ccache-3.7.7.tar.gz; \
+ cd ccache-3.7.7; ./configure --prefix=$prebuilt/ccache; make; 
make install; \
+ cd $prebuilt; rm -rf ccache-3.7.7; rm ccache-3.7.7.tar.gz; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/g++; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-g++; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/p32-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-g++; \
+   fi; \
+   ccache --version; \
+   export USE_CCACHE=1; \
+   export CCACHE_DIR=$prebuilt/ccache/.ccache; \
+   ccache -M 5G; \
+   ")

[GitHub] [incubator-nuttx-testing] maht commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
maht commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373740870
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
+install+=("if [ ! -d \"$prebuilt/ccache/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz; \
+ tar zxf ccache-3.7.7.tar.gz; \
+ cd ccache-3.7.7; ./configure --prefix=$prebuilt/ccache; make; 
make install; \
+ cd $prebuilt; rm -rf ccache-3.7.7; rm ccache-3.7.7.tar.gz; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/g++; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-g++; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/p32-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-g++; \
+   fi; \
+   ccache --version; \
+   export USE_CCACHE=1; \
+   export CCACHE_DIR=$prebuilt/ccache/.ccache; \
+   ccache -M 5G; \
+   ")

[GitHub] [incubator-nuttx-testing] maht commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
maht commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373740867
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
+install+=("if [ ! -d \"$prebuilt/ccache/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz; \
+ tar zxf ccache-3.7.7.tar.gz; \
+ cd ccache-3.7.7; ./configure --prefix=$prebuilt/ccache; make; 
make install; \
+ cd $prebuilt; rm -rf ccache-3.7.7; rm ccache-3.7.7.tar.gz; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/g++; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-g++; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/p32-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-g++; \
+   fi; \
+   ccache --version; \
+   export USE_CCACHE=1; \
+   export CCACHE_DIR=$prebuilt/ccache/.ccache; \
+   ccache -M 5G; \
+   ")

[GitHub] [incubator-nuttx-testing] maht commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
maht commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373740906
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
+install+=("if [ ! -d \"$prebuilt/ccache/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz; \
+ tar zxf ccache-3.7.7.tar.gz; \
+ cd ccache-3.7.7; ./configure --prefix=$prebuilt/ccache; make; 
make install; \
+ cd $prebuilt; rm -rf ccache-3.7.7; rm ccache-3.7.7.tar.gz; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/g++; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-g++; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/p32-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-g++; \
+   fi; \
+   ccache --version; \
+   export USE_CCACHE=1; \
+   export CCACHE_DIR=$prebuilt/ccache/.ccache; \
+   ccache -M 5G; \
+   ")

[GitHub] [incubator-nuttx-testing] maht commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
maht commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373740857
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
 
 Review comment:
   I think having the option to enable/disable ccache would be useful: ccache 
is used to cache compilations, but in CI is better to compile from scratch, 
since usually repeatability is desired despite of the speed. Or is ccache being 
used because the script `testbuild.sh` tries to compile the same files many 
times due to different configurations? If the caching is not being used 
disabling it would be better as the cache miss seems to have a significant 
performance cost (see https://ccache.dev/performance.html), and only enable it 
for the case a developer want to test the script locally before sending to 
upstream.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx-testing] maht commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
maht commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373740842
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
 
 Review comment:
   could this also benefit of the PREFIX parameter?


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx-testing] maht commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
maht commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373740814
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env bash
+
 
 Review comment:
   Maybe add `set -x` and `set -e` options to aid CI log/debug? 


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx-testing] maht commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
maht commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373740832
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
 
 Review comment:
   Maybe `genromfs` can be skipped if already in the distribution. I guess that 
is the case in the builds.apache.org Jenkins slaves marked as 'ubuntu' (could 
be just `apt install genromfs` ... it seems is the same 
https://launchpad.net/ubuntu/+source/genromfs/0.5.2-2build2 , same sha256 
hash). Anyway maybe is safer by now to use it from _nuttx/tools_, maybe there 
is a reason for that I am not aware of.


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services


[GitHub] [incubator-nuttx-testing] maht commented on a change in pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
maht commented on a change in pull request #3: Initial checkin CI related 
scripts and testlist files
URL: 
https://github.com/apache/incubator-nuttx-testing/pull/3#discussion_r373740899
 
 

 ##
 File path: cibuild.sh
 ##
 @@ -0,0 +1,171 @@
+#!/usr/bin/env 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.
+
+WD=$PWD
+nuttx=$WD/../nuttx
+apps=$WD/../apps
+tools=$WD/../tools
+prebuilt=$WD/../prebuilt
+
+# genromfs
+install=("if [ ! -d \"$prebuilt/genromfs/usr/bin\" ]; then \
+if [ ! -d "$tools" ]; then \
+  git clone https://github.com/nuttx/tools.git $tools; \
+fi; \
+mkdir -p $prebuilt; cd $tools; \
+tar zxf genromfs-0.5.2.tar.gz -C $prebuilt; \
+cd $prebuilt/genromfs-0.5.2; \
+make install PREFIX=$prebuilt/genromfs; \
+cd $prebuilt; rm -rf genromfs-0.5.2; \
+  fi; \
+  genromfs -h; \
+  ")
+path=("$prebuilt/genromfs/usr/bin")
+
+# kconfig-frontends
+install+=("if [ ! -d \"$prebuilt/kconfig-frontends/bin\" ]; then \
+ cd $tools/kconfig-frontends; \
+ ./configure --prefix=$prebuilt/kconfig-frontends --enable-mconf 
--disable-gconf --disable-qconf --enable-static; \
+ make install; \
+ cd $tools; git clean -xfd; \
+   fi; \
+   ")
+path+=("$prebuilt/kconfig-frontends/bin")
+
+# arm gcc toolchain
+install+=("if [ ! -d \"$prebuilt/gcc-arm-none-eabi/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://developer.arm.com/-/media/Files/downloads/gnu-rm/9-2019q4/RC2.1/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2;
 \
+ tar jxf gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+ mv gcc-arm-none-eabi-9-2019-q4-major gcc-arm-none-eabi; \
+ rm gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2; \
+   fi; \
+   arm-none-eabi-gcc --version; \
+   ")
+path+=("$prebuilt/gcc-arm-none-eabi/bin")
+
+# mips gcc toolchain
+install+=("if [ ! -d \"$prebuilt/pinguino-compilers/linux64/p32/bin\" ]; then \
+ cd $prebuilt; \
+ git clone https://github.com/PinguinoIDE/pinguino-compilers; \
+   fi; \
+   p32-gcc --version; \
+   ")
+path+=("$prebuilt/pinguino-compilers/linux64/p32/bin")
+
+# risc-v gcc toolchain
+install+=("if [ ! -d \"$prebuilt/riscv64-unknown-elf-gcc/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://static.dev.sifive.com/dev-tools/riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz;
 \
+ tar zxf 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+ mv riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14 
riscv64-unknown-elf-gcc; \
+ rm 
riscv64-unknown-elf-gcc-8.3.0-2019.08.0-x86_64-linux-ubuntu14.tar.gz; \
+   fi; \
+   riscv64-unknown-elf-gcc --version; \
+   ")
+path+=("$prebuilt/riscv64-unknown-elf-gcc/bin")
+
+# ccache
+install+=("if [ ! -d \"$prebuilt/ccache/bin\" ]; then \
+ cd $prebuilt; \
+ wget 
https://github.com/ccache/ccache/releases/download/v3.7.7/ccache-3.7.7.tar.gz; \
+ tar zxf ccache-3.7.7.tar.gz; \
+ cd ccache-3.7.7; ./configure --prefix=$prebuilt/ccache; make; 
make install; \
+ cd $prebuilt; rm -rf ccache-3.7.7; rm ccache-3.7.7.tar.gz; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/g++; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/arm-none-eabi-g++; \
+ ln -sf $prebuilt/ccache/bin/ccache $prebuilt/ccache/bin/p32-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-gcc; \
+ ln -sf $prebuilt/ccache/bin/ccache 
$prebuilt/ccache/bin/riscv64-unknown-elf-g++; \
+   fi; \
+   ccache --version; \
+   export USE_CCACHE=1; \
+   export CCACHE_DIR=$prebuilt/ccache/.ccache; \
+   ccache -M 5G; \
+   ")

Re: Podling Nuttx Report Reminder - February 2020

2020-01-31 Thread Justin Mclean
Hi,

> There already is a draft:
> https://cwiki.apache.org/confluence/display/NUTTX/February+2020
> We would appreciate your usual feedback.

No major feedback but it seems a little light on for detail. Have a look at 
some of the previous incubator reports [1], you see some piddling reports are 
better than others. Your last report was well received by the board (on 
incubator private list sorry you can’t see that).

I have noticed there seem to be less discussion happening on mailing, and there 
may be some conversion happening off-list, which may be an issue that needs to 
be looked into. But just about all podlings have that issue at this stage.

Thanks,
Justin

1. https://whimsy.apache.org/board/minutes/Incubator.html

Re: Podling Nuttx Report Reminder - February 2020

2020-01-31 Thread Abdelatif Guettouche
Hi Justin,

There already is a draft:
https://cwiki.apache.org/confluence/display/NUTTX/February+2020
We would appreciate your usual feedback.

On Fri, Jan 31, 2020 at 10:31 PM Justin Mclean  wrote:
>
> Hi,
>
> it a good idea to start working on the report early so people can give 
> feedback on it, a week before it is due is the suggestion. Who on the PPMC 
> would like to try getting a draft together first?
>
> Thanks,
> Justin


Re: Podling Nuttx Report Reminder - February 2020

2020-01-31 Thread Justin Mclean
Hi,

it a good idea to start working on the report early so people can give feedback 
on it, a week before it is due is the suggestion. Who on the PPMC would like to 
try getting a draft together first?

Thanks,
Justin


Podling Nuttx Report Reminder - February 2020

2020-01-31 Thread jmclean
Dear podling,

This email was sent by an automated system on behalf of the Apache
Incubator PMC. It is an initial reminder to give you plenty of time to
prepare your quarterly board report.

The board meeting is scheduled for Wed, 19 February 2020, 10:30 am PDT.
The report for your podling will form a part of the Incubator PMC
report. The Incubator PMC requires your report to be submitted 2 weeks
before the board meeting, to allow sufficient time for review and
submission (Wed, February 05).

Please submit your report with sufficient time to allow the Incubator
PMC, and subsequently board members to review and digest. Again, the
very latest you should submit your report is 2 weeks prior to the board
meeting.

Candidate names should not be made public before people are actually
elected, so please do not include the names of potential committers or
PPMC members in your report.

Thanks,

The Apache Incubator PMC

Submitting your Report

--

Your report should contain the following:

*   Your project name
*   A brief description of your project, which assumes no knowledge of
the project or necessarily of its field
*   A list of the three most important issues to address in the move
towards graduation.
*   Any issues that the Incubator PMC or ASF Board might wish/need to be
aware of
*   How has the community developed since the last report
*   How has the project developed since the last report.
*   How does the podling rate their own maturity.

This should be appended to the Incubator Wiki page at:

https://cwiki.apache.org/confluence/display/INCUBATOR/February2020

Note: This is manually populated. You may need to wait a little before
this page is created from a template.

Note: The format of the report has changed to use markdown.

Mentors
---

Mentors should review reports for their project(s) and sign them off on
the Incubator wiki page. Signing off reports shows that you are
following the project - projects that are not signed may raise alarms
for the Incubator PMC.

Incubator PMC


Re: inclubator-nuttx-testing PRs

2020-01-31 Thread Alin Jerpelea
unfortunately I am away until Monday for FOSDEM but I can look at it when I
come back

Alin


On Fri, Jan 31, 2020 at 4:04 PM Gregory Nutt  wrote:

> Alin, Alan, Abdelatif, and I have been handling most of the
> incubator-nuttx-apps/ andincubator- nuttx/ PRs.  However, I think it
> takes a different expertise to review incubator-nuttx-testing/ and
> incubator-nuttx-website PRs.
>
> There is an outstanding PR on incubator-nuttx-testing now:
> https://github.com/apache/incubator-nuttx-testing/pull/3
>
> I am personally not comfortable with reviewing that logic and I don't
> want to be the monkey who just pushes the merge button.  Can someone
> else do the review and merge?  Or, at a minimum, the review?
>
> Greg
>
>
>


linking problem

2020-01-31 Thread Embedded Systems
Hello ,

I would like to ask for little bit help. I am trying to build imxrt1050
custom board with libcxx, but in the linking i have the following problem

/usr/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv5/hard/libsupc++.a(vterminate.o):
In function `__gnu_cxx::__verbose_terminate_handler()':
vterminate.cc:(.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv+0xf8):
undefined reference to `_impure_ptr'

anyone have any idea how that can be fixed? THank you in advance

Best regards,
Ivan Ucherdzhiev


Re: Jenkins CI

2020-01-31 Thread Miguel Ángel Herranz
On Fri, Jan 31, 2020 at 4:30 PM Gregory Nutt  wrote:

>
> Perhaps Miguel could provide the review of PR3.  I will be happy to
> finish the merge after some review is provided.
>
>
I can review the script, but maybe mostly generic (not too specific to
NuttX though).


> Once it has been merged, both you and Miguel can continue the
> development with PRs.  But we need to find someone competent to provide
> review.
>
> Greg
>

Maybe @yamt (see
https://github.com/apache/incubator-nuttx/pull/183/commits/bc07eb680e09db3d07ddf0ab1da655661c066bef)
can take a look also, as he created that config for CircleCI (and maybe
integrate their changes later in Jenkins too).

I will try to give a review asap.

Cheers,
Miguel


Re: Jenkins CI

2020-01-31 Thread Miguel Ángel Herranz
On Fri, Jan 31, 2020 at 4:17 PM Haitao Liu  wrote:

> Hi, Miguel,
>
> I have just added the CI scripts and testlist files in
> https://github.com/apache/incubator-nuttx-testing/pull/3
> And asked XiaoXiang help to create Nuttx Nightly build job in
> builds.apache.org before. But it's just a freestyle CI job
> which call cibuild.sh simply. Once CI script and testlist file verify well.
> It would be better if it could be integrated into the
> pipeline definition you mentioned. You could help to use the pipeline way
> if access granted.
>

Hi Haitao,

yes, I just show it I would like to take a deeper look but I can't right
now, maybe late today.

I will review it and modify the pipeline job definition to call your script
(basically call it from vars/runContinuousIntegrationPipeline.groovy

).

Once we check it works ok XiaoXiang can manually create the multibranch
pipeline or using the scripts and XML job definition provided in the same
pull request.

| Let's work together on it :)

Apache way :)

Cheers,
/Miguel



>
>
> Miguel Ángel Herranz  于2020年1月29日周三
> 上午12:56写道:
>
> > Hi,
> >
> > after some research about new releases of Jenkins, it seems that my
> > proposal can be improved towards a simpler setup, so I modified it.
> >
> > I have included some code as pull requests that could be useful to
> discuss
> > upon: https://github.com/apache/incubator-nuttx-testing/pull/2 and
> > https://github.com/apache/incubator-nuttx/pull/174
> >
> > The actual logic from Haitao scripts can be used inside the pipeline
> > definition, so we could have a mostly functional "Github pull request
> based
> > workflow", once a comitter with enough rights could create the jobs in
> > builds.apache.org (I am still waiting confirmation for the CCLA, sorry,
> > and
> > anyway the access is not granted).
> >
> > Cheers,
> > Miguel
> >
> >
> >
> >
> > On Tue, Jan 21, 2020 at 1:11 PM Miguel Ángel Herranz <
> mig...@midokura.com>
> > wrote:
> >
> > >
> > > > We probably can get infra to add you, submitting an ICLA might help
> as
> > > that could be used to create an account.
> > >
> > > Thanks, good to know. I am asking my employer about including me in a
> > > corporate one (CCLA [1]), but if it is too much paperwork I guess I can
> > > just submit the ICLA. Let's see.
> > >
> > > [1] https://www.apache.org/licenses/contributor-agreements.html
> > >
> > > On Tue, Jan 21, 2020 at 2:01 AM Justin Mclean
> > 
> > > wrote:
> > >
> > >> Hi,
> > >>
> > >> > Oh, I did check that wiki page but I was not aware that it was a
> > >> > requirement to be a comitter or PPMC member to have an LDAP account,
> > >> but it
> > >> > makes sense, thanks anyway.
> > >>
> > >> We probably can get infra to add you, submitting an ICLA might help as
> > >> that could be used to create an account.
> > >>
> > >> Thanks,
> > >> Justin
> > >>
> > >>
> > >>
> >
>


Re: Jenkins CI

2020-01-31 Thread Gregory Nutt




I have just added the CI scripts and testlist files in
https://github.com/apache/incubator-nuttx-testing/pull/3
And asked XiaoXiang help to create Nuttx Nightly build job in
builds.apache.org before. But it's just a freestyle CI job
which call cibuild.sh simply. Once CI script and testlist file verify well.
It would be better if it could be integrated into the
pipeline definition you mentioned. You could help to use the pipeline way
if access granted. Let's work together on it :)


Perhaps Miguel could provide the review of PR3.  I will be happy to 
finish the merge after some review is provided.


Once it has been merged, both you and Miguel can continue the 
development with PRs.  But we need to find someone competent to provide 
review.


Greg




Re: Jenkins CI

2020-01-31 Thread Haitao Liu
Hi, Miguel,

I have just added the CI scripts and testlist files in
https://github.com/apache/incubator-nuttx-testing/pull/3
And asked XiaoXiang help to create Nuttx Nightly build job in
builds.apache.org before. But it's just a freestyle CI job
which call cibuild.sh simply. Once CI script and testlist file verify well.
It would be better if it could be integrated into the
pipeline definition you mentioned. You could help to use the pipeline way
if access granted. Let's work together on it :)


Miguel Ángel Herranz  于2020年1月29日周三 上午12:56写道:

> Hi,
>
> after some research about new releases of Jenkins, it seems that my
> proposal can be improved towards a simpler setup, so I modified it.
>
> I have included some code as pull requests that could be useful to discuss
> upon: https://github.com/apache/incubator-nuttx-testing/pull/2 and
> https://github.com/apache/incubator-nuttx/pull/174
>
> The actual logic from Haitao scripts can be used inside the pipeline
> definition, so we could have a mostly functional "Github pull request based
> workflow", once a comitter with enough rights could create the jobs in
> builds.apache.org (I am still waiting confirmation for the CCLA, sorry,
> and
> anyway the access is not granted).
>
> Cheers,
> Miguel
>
>
>
>
> On Tue, Jan 21, 2020 at 1:11 PM Miguel Ángel Herranz 
> wrote:
>
> >
> > > We probably can get infra to add you, submitting an ICLA might help as
> > that could be used to create an account.
> >
> > Thanks, good to know. I am asking my employer about including me in a
> > corporate one (CCLA [1]), but if it is too much paperwork I guess I can
> > just submit the ICLA. Let's see.
> >
> > [1] https://www.apache.org/licenses/contributor-agreements.html
> >
> > On Tue, Jan 21, 2020 at 2:01 AM Justin Mclean
> 
> > wrote:
> >
> >> Hi,
> >>
> >> > Oh, I did check that wiki page but I was not aware that it was a
> >> > requirement to be a comitter or PPMC member to have an LDAP account,
> >> but it
> >> > makes sense, thanks anyway.
> >>
> >> We probably can get infra to add you, submitting an ICLA might help as
> >> that could be used to create an account.
> >>
> >> Thanks,
> >> Justin
> >>
> >>
> >>
>


inclubator-nuttx-testing PRs

2020-01-31 Thread Gregory Nutt
Alin, Alan, Abdelatif, and I have been handling most of the 
incubator-nuttx-apps/ andincubator- nuttx/ PRs.  However, I think it 
takes a different expertise to review incubator-nuttx-testing/ and 
incubator-nuttx-website PRs.


There is an outstanding PR on incubator-nuttx-testing now: 
https://github.com/apache/incubator-nuttx-testing/pull/3


I am personally not comfortable with reviewing that logic and I don't 
want to be the monkey who just pushes the merge button.  Can someone 
else do the review and merge?  Or, at a minimum, the review?


Greg




Re: How to Add a Wiki Page?

2020-01-31 Thread Gregory Nutt
Nevermind... I found it.  I was looking in the wrong place (there are 
two ... buttons!)



Hi, Brennan,

I wanted to add a Wiki page to Confluence but it is not clear to me 
how to do that.  I see 
https://confluence.atlassian.com/doc/create-and-edit-pages-139476.html 
which says I should be able just click a Create button next to the ... 
button.  But I don't have a Create button.  Am I missin some 
privilege?  I am logged in.


I want to add a page here: 
https://cwiki.apache.org/confluence/display/NUTTX/Networking to 
discuss CONFIG_NET_GUARDSIZE.


Greg





How to Add a Wiki Page?

2020-01-31 Thread Gregory Nutt

Hi, Brennan,

I wanted to add a Wiki page to Confluence but it is not clear to me how 
to do that.  I see 
https://confluence.atlassian.com/doc/create-and-edit-pages-139476.html 
which says I should be able just click a Create button next to the ... 
button.  But I don't have a Create button.  Am I missin some privilege?  
I am logged in.


I want to add a page here: 
https://cwiki.apache.org/confluence/display/NUTTX/Networking to discuss 
CONFIG_NET_GUARDSIZE.


Greg




[GitHub] [incubator-nuttx-testing] liuguo09 opened a new pull request #3: Initial checkin CI related scripts and testlist files

2020-01-31 Thread GitBox
liuguo09 opened a new pull request #3: Initial checkin CI related scripts and 
testlist files
URL: https://github.com/apache/incubator-nuttx-testing/pull/3
 
 
   1. clone repos including nuttx, apps and tools
   2. setup tools including gcc toolchains, kconfig-frontends, genromfs and 
ccache
   3. do check build or nightly full build accordingly
   
   Change-Id: I5a2cb9e0a3dba69f16582340d19f6bf4d4d02195
   Signed-off-by: liuhaitao 


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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services