public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 1/2] ci_build: Include de0-nano-soc into parallel fast build
@ 2019-05-18 11:11 Maxim Yu. Osipov
  2019-05-18 11:11 ` [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET Maxim Yu. Osipov
  2019-05-20 13:47 ` [PATCH 1/2] ci_build: Include de0-nano-soc into parallel fast build Maxim Yu. Osipov
  0 siblings, 2 replies; 9+ messages in thread
From: Maxim Yu. Osipov @ 2019-05-18 11:11 UTC (permalink / raw)
  To: isar-users

Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
---
 scripts/ci_build.sh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index a38e2b7..ae9f5c9 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -86,6 +86,7 @@ do
                      multiconfig:qemuarm-buster:isar-image-base \
                      multiconfig:qemuarm64-stretch:isar-image-base \
                      multiconfig:qemuamd64-stretch:isar-image-base \
+                     multiconfig:de0-nano-soc-stretch:isar-image-base \
                      multiconfig:rpi-stretch:isar-image-base"
         ;;
     -q|--quiet)
@@ -124,13 +125,8 @@ fi
 # Start build for the defined set of configurations
 bitbake $BB_ARGS $TARGETS_SET
 
-# Note: de0-nano-soc build is launched separately as
-# parallel build with the same target arch (armhf) fails.
-# The problem is being investigated
 # In addition test SDK creation
 if [ -n "$FAST_BUILD" ]; then
-    bitbake $BB_ARGS multiconfig:de0-nano-soc-stretch:isar-image-base
-    while [ -e bitbake.sock ]; do sleep 1; done
     bitbake $BB_ARGS -c do_populate_sdk multiconfig:qemuarm-stretch:isar-image-base
 fi
 
-- 
2.11.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET
  2019-05-18 11:11 [PATCH 1/2] ci_build: Include de0-nano-soc into parallel fast build Maxim Yu. Osipov
@ 2019-05-18 11:11 ` Maxim Yu. Osipov
  2019-05-20 13:48   ` Maxim Yu. Osipov
  2019-05-23 12:27   ` Claudius Heine
  2019-05-20 13:47 ` [PATCH 1/2] ci_build: Include de0-nano-soc into parallel fast build Maxim Yu. Osipov
  1 sibling, 2 replies; 9+ messages in thread
From: Maxim Yu. Osipov @ 2019-05-18 11:11 UTC (permalink / raw)
  To: isar-users

Use minimal targets set to test local apt repo caching feature

Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
---
 scripts/ci_build.sh | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index ae9f5c9..9d370ac 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -34,6 +34,10 @@ TARGETS_SET="\
           # qemu-user-static of <= buster too old to build that
           # multiconfig:qemuarm64-buster:isar-image-base
 
+REPRO_TARGETS_SET="\
+            multiconfig:qemuarm-stretch:isar-image-base \
+            multiconfig:qemuarm64-stretch:isar-image-base \
+            multiconfig:qemuamd64-stretch:isar-image-base"
 
 show_help() {
     echo "This script builds the default Isar images."
@@ -116,10 +120,15 @@ fi
 
 if [ -n "$REPRO_BUILD" ]; then
     # Enable use of cached base repository
-    bitbake $BB_ARGS -c cache_base_repo  $TARGETS_SET
+    bitbake $BB_ARGS -c cache_base_repo $REPRO_TARGETS_SET
     while [ -e bitbake.sock ]; do sleep 1; done
     sudo rm -rf tmp
     sed -i -e 's/#ISAR_USE_CACHED_BASE_REPO ?= "1"/ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
+    bitbake $BB_ARGS $REPRO_TARGETS_SET
+    while [ -e bitbake.sock ]; do sleep 1; done
+    # Cleanup and disable use of cached base repository
+    sudo rm -rf tmp
+    sed -i -e 's/ISAR_USE_CACHED_BASE_REPO ?= "1"/#ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
 fi
 
 # Start build for the defined set of configurations
-- 
2.11.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] ci_build: Include de0-nano-soc into parallel fast build
  2019-05-18 11:11 [PATCH 1/2] ci_build: Include de0-nano-soc into parallel fast build Maxim Yu. Osipov
  2019-05-18 11:11 ` [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET Maxim Yu. Osipov
@ 2019-05-20 13:47 ` Maxim Yu. Osipov
  1 sibling, 0 replies; 9+ messages in thread
From: Maxim Yu. Osipov @ 2019-05-20 13:47 UTC (permalink / raw)
  To: isar-users

On 5/18/19 1:11 PM, Maxim Yu. Osipov wrote:
> Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>

Applied to the 'next'.

> ---
>   scripts/ci_build.sh | 6 +-----
>   1 file changed, 1 insertion(+), 5 deletions(-)
> 
> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> index a38e2b7..ae9f5c9 100755
> --- a/scripts/ci_build.sh
> +++ b/scripts/ci_build.sh
> @@ -86,6 +86,7 @@ do
>                        multiconfig:qemuarm-buster:isar-image-base \
>                        multiconfig:qemuarm64-stretch:isar-image-base \
>                        multiconfig:qemuamd64-stretch:isar-image-base \
> +                     multiconfig:de0-nano-soc-stretch:isar-image-base \
>                        multiconfig:rpi-stretch:isar-image-base"
>           ;;
>       -q|--quiet)
> @@ -124,13 +125,8 @@ fi
>   # Start build for the defined set of configurations
>   bitbake $BB_ARGS $TARGETS_SET
>   
> -# Note: de0-nano-soc build is launched separately as
> -# parallel build with the same target arch (armhf) fails.
> -# The problem is being investigated
>   # In addition test SDK creation
>   if [ -n "$FAST_BUILD" ]; then
> -    bitbake $BB_ARGS multiconfig:de0-nano-soc-stretch:isar-image-base
> -    while [ -e bitbake.sock ]; do sleep 1; done
>       bitbake $BB_ARGS -c do_populate_sdk multiconfig:qemuarm-stretch:isar-image-base
>   fi
>   
> 


-- 
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET
  2019-05-18 11:11 ` [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET Maxim Yu. Osipov
@ 2019-05-20 13:48   ` Maxim Yu. Osipov
  2019-05-23 12:27   ` Claudius Heine
  1 sibling, 0 replies; 9+ messages in thread
From: Maxim Yu. Osipov @ 2019-05-20 13:48 UTC (permalink / raw)
  To: isar-users

On 5/18/19 1:11 PM, Maxim Yu. Osipov wrote:
> Use minimal targets set to test local apt repo caching feature

Applied to the 'next'.

> Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
> ---
>   scripts/ci_build.sh | 11 ++++++++++-
>   1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> index ae9f5c9..9d370ac 100755
> --- a/scripts/ci_build.sh
> +++ b/scripts/ci_build.sh
> @@ -34,6 +34,10 @@ TARGETS_SET="\
>             # qemu-user-static of <= buster too old to build that
>             # multiconfig:qemuarm64-buster:isar-image-base
>   
> +REPRO_TARGETS_SET="\
> +            multiconfig:qemuarm-stretch:isar-image-base \
> +            multiconfig:qemuarm64-stretch:isar-image-base \
> +            multiconfig:qemuamd64-stretch:isar-image-base"
>   
>   show_help() {
>       echo "This script builds the default Isar images."
> @@ -116,10 +120,15 @@ fi
>   
>   if [ -n "$REPRO_BUILD" ]; then
>       # Enable use of cached base repository
> -    bitbake $BB_ARGS -c cache_base_repo  $TARGETS_SET
> +    bitbake $BB_ARGS -c cache_base_repo $REPRO_TARGETS_SET
>       while [ -e bitbake.sock ]; do sleep 1; done
>       sudo rm -rf tmp
>       sed -i -e 's/#ISAR_USE_CACHED_BASE_REPO ?= "1"/ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
> +    bitbake $BB_ARGS $REPRO_TARGETS_SET
> +    while [ -e bitbake.sock ]; do sleep 1; done
> +    # Cleanup and disable use of cached base repository
> +    sudo rm -rf tmp
> +    sed -i -e 's/ISAR_USE_CACHED_BASE_REPO ?= "1"/#ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
>   fi
>   
>   # Start build for the defined set of configurations
> 


-- 
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET
  2019-05-18 11:11 ` [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET Maxim Yu. Osipov
  2019-05-20 13:48   ` Maxim Yu. Osipov
@ 2019-05-23 12:27   ` Claudius Heine
  2019-05-23 12:34     ` Maxim Yu. Osipov
  1 sibling, 1 reply; 9+ messages in thread
From: Claudius Heine @ 2019-05-23 12:27 UTC (permalink / raw)
  To: Maxim Yu. Osipov, isar-users

Hi Maxim,

On 18/05/2019 13.11, Maxim Yu. Osipov wrote:
> Use minimal targets set to test local apt repo caching feature
> 
> Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
> ---
>   scripts/ci_build.sh | 11 ++++++++++-
>   1 file changed, 10 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> index ae9f5c9..9d370ac 100755
> --- a/scripts/ci_build.sh
> +++ b/scripts/ci_build.sh
> @@ -34,6 +34,10 @@ TARGETS_SET="\
>             # qemu-user-static of <= buster too old to build that
>             # multiconfig:qemuarm64-buster:isar-image-base
>   
> +REPRO_TARGETS_SET="\
> +            multiconfig:qemuarm-stretch:isar-image-base \
> +            multiconfig:qemuarm64-stretch:isar-image-base \
> +            multiconfig:qemuamd64-stretch:isar-image-base"

What is probably missing here a 
'multiconfig:qemu*-buster:isar-image-base' target.

At least after my current base-apt patchset it should be possible to 
build stretch and buster in the same build environment.

Claudius

>   
>   show_help() {
>       echo "This script builds the default Isar images."
> @@ -116,10 +120,15 @@ fi
>   
>   if [ -n "$REPRO_BUILD" ]; then
>       # Enable use of cached base repository
> -    bitbake $BB_ARGS -c cache_base_repo  $TARGETS_SET
> +    bitbake $BB_ARGS -c cache_base_repo $REPRO_TARGETS_SET
>       while [ -e bitbake.sock ]; do sleep 1; done
>       sudo rm -rf tmp
>       sed -i -e 's/#ISAR_USE_CACHED_BASE_REPO ?= "1"/ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
> +    bitbake $BB_ARGS $REPRO_TARGETS_SET
> +    while [ -e bitbake.sock ]; do sleep 1; done
> +    # Cleanup and disable use of cached base repository
> +    sudo rm -rf tmp
> +    sed -i -e 's/ISAR_USE_CACHED_BASE_REPO ?= "1"/#ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
>   fi
>   
>   # Start build for the defined set of configurations
> 

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET
  2019-05-23 12:27   ` Claudius Heine
@ 2019-05-23 12:34     ` Maxim Yu. Osipov
  2019-05-23 12:38       ` Claudius Heine
  0 siblings, 1 reply; 9+ messages in thread
From: Maxim Yu. Osipov @ 2019-05-23 12:34 UTC (permalink / raw)
  To: Claudius Heine, isar-users

On 5/23/19 2:27 PM, Claudius Heine wrote:
> Hi Maxim,
> 
> On 18/05/2019 13.11, Maxim Yu. Osipov wrote:
>> Use minimal targets set to test local apt repo caching feature
>>
>> Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
>> ---
>>   scripts/ci_build.sh | 11 ++++++++++-
>>   1 file changed, 10 insertions(+), 1 deletion(-)
>>
>> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
>> index ae9f5c9..9d370ac 100755
>> --- a/scripts/ci_build.sh
>> +++ b/scripts/ci_build.sh
>> @@ -34,6 +34,10 @@ TARGETS_SET="\
>>             # qemu-user-static of <= buster too old to build that
>>             # multiconfig:qemuarm64-buster:isar-image-base
>> +REPRO_TARGETS_SET="\
>> +            multiconfig:qemuarm-stretch:isar-image-base \
>> +            multiconfig:qemuarm64-stretch:isar-image-base \
>> +            multiconfig:qemuamd64-stretch:isar-image-base"
> 
> What is probably missing here a 
> 'multiconfig:qemu*-buster:isar-image-base' target.
> 
> At least after my current base-apt patchset it should be possible to 
> build stretch and buster in the same build environment.

Would be great.
Are you going to send the next version of your series (w/o ci patches 
from v1 series)? If yes - please add patch to ci_build.sh updating 
REPRO_TARGETS_SET with qemu*-buster targets.

Regards,
Maxim.


> Claudius
> 
>>   show_help() {
>>       echo "This script builds the default Isar images."
>> @@ -116,10 +120,15 @@ fi
>>   if [ -n "$REPRO_BUILD" ]; then
>>       # Enable use of cached base repository
>> -    bitbake $BB_ARGS -c cache_base_repo  $TARGETS_SET
>> +    bitbake $BB_ARGS -c cache_base_repo $REPRO_TARGETS_SET
>>       while [ -e bitbake.sock ]; do sleep 1; done
>>       sudo rm -rf tmp
>>       sed -i -e 's/#ISAR_USE_CACHED_BASE_REPO ?= 
>> "1"/ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
>> +    bitbake $BB_ARGS $REPRO_TARGETS_SET
>> +    while [ -e bitbake.sock ]; do sleep 1; done
>> +    # Cleanup and disable use of cached base repository
>> +    sudo rm -rf tmp
>> +    sed -i -e 's/ISAR_USE_CACHED_BASE_REPO ?= 
>> "1"/#ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
>>   fi
>>   # Start build for the defined set of configurations
>>
> 


-- 
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET
  2019-05-23 12:34     ` Maxim Yu. Osipov
@ 2019-05-23 12:38       ` Claudius Heine
  2019-05-23 12:46         ` Maxim Yu. Osipov
  0 siblings, 1 reply; 9+ messages in thread
From: Claudius Heine @ 2019-05-23 12:38 UTC (permalink / raw)
  To: Maxim Yu. Osipov, isar-users

Hi,

On 23/05/2019 14.34, Maxim Yu. Osipov wrote:
> On 5/23/19 2:27 PM, Claudius Heine wrote:
>> Hi Maxim,
>>
>> On 18/05/2019 13.11, Maxim Yu. Osipov wrote:
>>> Use minimal targets set to test local apt repo caching feature
>>>
>>> Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
>>> ---
>>>   scripts/ci_build.sh | 11 ++++++++++-
>>>   1 file changed, 10 insertions(+), 1 deletion(-)
>>>
>>> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
>>> index ae9f5c9..9d370ac 100755
>>> --- a/scripts/ci_build.sh
>>> +++ b/scripts/ci_build.sh
>>> @@ -34,6 +34,10 @@ TARGETS_SET="\
>>>             # qemu-user-static of <= buster too old to build that
>>>             # multiconfig:qemuarm64-buster:isar-image-base
>>> +REPRO_TARGETS_SET="\
>>> +            multiconfig:qemuarm-stretch:isar-image-base \
>>> +            multiconfig:qemuarm64-stretch:isar-image-base \
>>> +            multiconfig:qemuamd64-stretch:isar-image-base"
>>
>> What is probably missing here a 
>> 'multiconfig:qemu*-buster:isar-image-base' target.
>>
>> At least after my current base-apt patchset it should be possible to 
>> build stretch and buster in the same build environment.
> 
> Would be great.
> Are you going to send the next version of your series (w/o ci patches 
> from v1 series)? If yes - please add patch to ci_build.sh updating  > REPRO_TARGETS_SET with qemu*-buster targets.

Will do, but will first run the CI on them again.

In principle we could also add rpi-stretch if cross-build is not enabled.

Claudius

> 
> Regards,
> Maxim.
> 
> 
>> Claudius
>>
>>>   show_help() {
>>>       echo "This script builds the default Isar images."
>>> @@ -116,10 +120,15 @@ fi
>>>   if [ -n "$REPRO_BUILD" ]; then
>>>       # Enable use of cached base repository
>>> -    bitbake $BB_ARGS -c cache_base_repo  $TARGETS_SET
>>> +    bitbake $BB_ARGS -c cache_base_repo $REPRO_TARGETS_SET
>>>       while [ -e bitbake.sock ]; do sleep 1; done
>>>       sudo rm -rf tmp
>>>       sed -i -e 's/#ISAR_USE_CACHED_BASE_REPO ?= 
>>> "1"/ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
>>> +    bitbake $BB_ARGS $REPRO_TARGETS_SET
>>> +    while [ -e bitbake.sock ]; do sleep 1; done
>>> +    # Cleanup and disable use of cached base repository
>>> +    sudo rm -rf tmp
>>> +    sed -i -e 's/ISAR_USE_CACHED_BASE_REPO ?= 
>>> "1"/#ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
>>>   fi
>>>   # Start build for the defined set of configurations
>>>
>>
> 
> 

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET
  2019-05-23 12:38       ` Claudius Heine
@ 2019-05-23 12:46         ` Maxim Yu. Osipov
  2019-05-23 13:17           ` Claudius Heine
  0 siblings, 1 reply; 9+ messages in thread
From: Maxim Yu. Osipov @ 2019-05-23 12:46 UTC (permalink / raw)
  To: Claudius Heine, isar-users

On 5/23/19 2:38 PM, Claudius Heine wrote:
> Hi,
> 
> On 23/05/2019 14.34, Maxim Yu. Osipov wrote:
>> On 5/23/19 2:27 PM, Claudius Heine wrote:
>>> Hi Maxim,
>>>
>>> On 18/05/2019 13.11, Maxim Yu. Osipov wrote:
>>>> Use minimal targets set to test local apt repo caching feature
>>>>
>>>> Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
>>>> ---
>>>>   scripts/ci_build.sh | 11 ++++++++++-
>>>>   1 file changed, 10 insertions(+), 1 deletion(-)
>>>>
>>>> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
>>>> index ae9f5c9..9d370ac 100755
>>>> --- a/scripts/ci_build.sh
>>>> +++ b/scripts/ci_build.sh
>>>> @@ -34,6 +34,10 @@ TARGETS_SET="\
>>>>             # qemu-user-static of <= buster too old to build that
>>>>             # multiconfig:qemuarm64-buster:isar-image-base
>>>> +REPRO_TARGETS_SET="\
>>>> +            multiconfig:qemuarm-stretch:isar-image-base \
>>>> +            multiconfig:qemuarm64-stretch:isar-image-base \
>>>> +            multiconfig:qemuamd64-stretch:isar-image-base"
>>>
>>> What is probably missing here a 
>>> 'multiconfig:qemu*-buster:isar-image-base' target.
>>>
>>> At least after my current base-apt patchset it should be possible to 
>>> build stretch and buster in the same build environment.
>>
>> Would be great.
>> Are you going to send the next version of your series (w/o ci patches 
>> from v1 series)? If yes - please add patch to ci_build.sh updating  > 
>> REPRO_TARGETS_SET with qemu*-buster targets.
> 
> Will do, but will first run the CI on them again.

OK, thanks.

> In principle we could also add rpi-stretch if cross-build is not enabled.

I fear that this will not work for the 'fast' build as it enables cross 
compilation (f.e. "fast" favor Jenkins projects launch now 'ci_build -q 
-f -r').


BTW, is your series addresses the question you posted yesterday
https://groups.google.com/d/msgid/isar-users/54843fa8-16ea-195c-4ffa-8ec10fa9246c%40siemens.com 
?

Honestly, I've not yet read it carefully.


Maxim.


> Claudius
> 
>>
>> Regards,
>> Maxim.
>>
>>
>>> Claudius
>>>
>>>>   show_help() {
>>>>       echo "This script builds the default Isar images."
>>>> @@ -116,10 +120,15 @@ fi
>>>>   if [ -n "$REPRO_BUILD" ]; then
>>>>       # Enable use of cached base repository
>>>> -    bitbake $BB_ARGS -c cache_base_repo  $TARGETS_SET
>>>> +    bitbake $BB_ARGS -c cache_base_repo $REPRO_TARGETS_SET
>>>>       while [ -e bitbake.sock ]; do sleep 1; done
>>>>       sudo rm -rf tmp
>>>>       sed -i -e 's/#ISAR_USE_CACHED_BASE_REPO ?= 
>>>> "1"/ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
>>>> +    bitbake $BB_ARGS $REPRO_TARGETS_SET
>>>> +    while [ -e bitbake.sock ]; do sleep 1; done
>>>> +    # Cleanup and disable use of cached base repository
>>>> +    sudo rm -rf tmp
>>>> +    sed -i -e 's/ISAR_USE_CACHED_BASE_REPO ?= 
>>>> "1"/#ISAR_USE_CACHED_BASE_REPO ?= "1"/g' conf/local.conf
>>>>   fi
>>>>   # Start build for the defined set of configurations
>>>>
>>>
>>
>>
> 


-- 
Maxim Osipov
ilbers GmbH
Maria-Merian-Str. 8
85521 Ottobrunn
Germany
+49 (151) 6517 6917
mosipov@ilbers.de
http://ilbers.de/
Commercial register Munich, HRB 214197
General Manager: Baurzhan Ismagulov

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET
  2019-05-23 12:46         ` Maxim Yu. Osipov
@ 2019-05-23 13:17           ` Claudius Heine
  0 siblings, 0 replies; 9+ messages in thread
From: Claudius Heine @ 2019-05-23 13:17 UTC (permalink / raw)
  To: Maxim Yu. Osipov, isar-users

On 23/05/2019 14.46, Maxim Yu. Osipov wrote:
> On 5/23/19 2:38 PM, Claudius Heine wrote:
>> Hi,
>>
>> On 23/05/2019 14.34, Maxim Yu. Osipov wrote:
>>> On 5/23/19 2:27 PM, Claudius Heine wrote:
>>>> Hi Maxim,
>>>>
>>>> On 18/05/2019 13.11, Maxim Yu. Osipov wrote:
>>>>> Use minimal targets set to test local apt repo caching feature
>>>>>
>>>>> Signed-off-by: Maxim Yu. Osipov <mosipov@ilbers.de>
>>>>> ---
>>>>>   scripts/ci_build.sh | 11 ++++++++++-
>>>>>   1 file changed, 10 insertions(+), 1 deletion(-)
>>>>>
>>>>> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
>>>>> index ae9f5c9..9d370ac 100755
>>>>> --- a/scripts/ci_build.sh
>>>>> +++ b/scripts/ci_build.sh
>>>>> @@ -34,6 +34,10 @@ TARGETS_SET="\
>>>>>             # qemu-user-static of <= buster too old to build that
>>>>>             # multiconfig:qemuarm64-buster:isar-image-base
>>>>> +REPRO_TARGETS_SET="\
>>>>> +            multiconfig:qemuarm-stretch:isar-image-base \
>>>>> +            multiconfig:qemuarm64-stretch:isar-image-base \
>>>>> +            multiconfig:qemuamd64-stretch:isar-image-base"
>>>>
>>>> What is probably missing here a 
>>>> 'multiconfig:qemu*-buster:isar-image-base' target.
>>>>
>>>> At least after my current base-apt patchset it should be possible to 
>>>> build stretch and buster in the same build environment.
>>>
>>> Would be great.
>>> Are you going to send the next version of your series (w/o ci patches 
>>> from v1 series)? If yes - please add patch to ci_build.sh updating  > 
>>> REPRO_TARGETS_SET with qemu*-buster targets.
>>
>> Will do, but will first run the CI on them again.
> 
> OK, thanks.
> 
>> In principle we could also add rpi-stretch if cross-build is not enabled.
> 
> I fear that this will not work for the 'fast' build as it enables cross 
> compilation (f.e. "fast" favor Jenkins projects launch now 'ci_build -q 
> -f -r').
> 
> 
> BTW, is your series addresses the question you posted yesterday
> https://groups.google.com/d/msgid/isar-users/54843fa8-16ea-195c-4ffa-8ec10fa9246c%40siemens.com 
> ?
> 
> Honestly, I've not yet read it carefully.

Yes. My solution is now to have a separate repository for each ${DISTRO}.

We should probably have to take a closer look at base-apt and the 
population process soon. And think about a improved design that supports 
multiple repositories and code names. But this patchset should just fix 
the issues I encountered.

Claudius


-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-05-23 13:17 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-18 11:11 [PATCH 1/2] ci_build: Include de0-nano-soc into parallel fast build Maxim Yu. Osipov
2019-05-18 11:11 ` [PATCH 2/2] ci_build: Introduce REPRO_TARGETS_SET Maxim Yu. Osipov
2019-05-20 13:48   ` Maxim Yu. Osipov
2019-05-23 12:27   ` Claudius Heine
2019-05-23 12:34     ` Maxim Yu. Osipov
2019-05-23 12:38       ` Claudius Heine
2019-05-23 12:46         ` Maxim Yu. Osipov
2019-05-23 13:17           ` Claudius Heine
2019-05-20 13:47 ` [PATCH 1/2] ci_build: Include de0-nano-soc into parallel fast build Maxim Yu. Osipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox