Fix randconfig build in travis-ci
cover Fix randconfig build in travis-ci
Wei Liu (2):
Kconfig: introduce allrandom.config
Travis-ci: specify KCONFIG_ALLCONFIG for randconfig
scripts/travis-build | 2 +- xen/tools/kconfig/allrandom.config | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 xen/tools/kconfig/allrandom.config
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH 1/2 Kconfig: introduce allrandom.config
This would be used to force selection of certain items in randconfig.
We need this to force gcov format to be autodetected in randconfig target, which would avoid generating known-incompatible combinations.
---
Cc: Doug Goldstein <[email protected]>
--- xen/tools/kconfig/allrandom.config | 1 + 1 file changed, 1 insertion(+) create mode 100644 xen/tools/kconfig/allrandom.config
xen/tools/kconfig/allrandom.config new file +1 -0
@@ -0,0 +1 @@ +CONFIG_GCOV_FORMAT_AUTODETECT=y
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
PATCH 2/2 Travis-ci: specify KCONFIG_ALLCONFIG for randconfig
In reply to Wei LiuThe file provided contains symbols that must be set to certain values. This then prevents random build breakage in travis due to known-incompatible symbol selections.
---
Cc: Doug Goldstein <[email protected]>
--- scripts/travis-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/travis-build +1 -1
@@ -4,7 +4,7 @@ $CC --version # random config or default config if [[ "${RANDCONFIG}" == "y" ]]; then - make -C xen randconfig + make -C xen KCONFIG_ALLCONFIG=tools/kconfig/allrandom.config randconfig else make -C xen defconfig fi
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Re: [PATCH 1/2] Kconfig: introduce allrandom.config
In reply to Wei Liuxen/tools/kconfig/allrandom.config
Quoted 19 lines · Wei Liu
This would be used to force selection of certain items in randconfig.
We need this to force gcov format to be autodetected in randconfig target, which would avoid generating known-incompatible combinations.
Signed-off-by Wei Liu <[email protected]>---
Cc: Doug Goldstein <[email protected]>--- xen/tools/kconfig/allrandom.config | 1 + 1 file changed, 1 insertion(+) create mode 100644 xen/tools/kconfig/allrandom.configxen/tools/kconfig/allrandom.config new file +0
-0@@ -0,0 +1 @@
I'd put a comment here saying
# Explicit option choices not subject to regular RANDCONFIG
Otherwise, Reviewed-by: Andrew Cooper <[email protected]>
xen/tools/kconfig/allrandom.config line 1
Quoted 1 line
xen/tools/kconfig/allrandom.config new file +1
-0+CONFIG_GCOV_FORMAT_AUTODETECT=y
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Re: [PATCH 2/2] Travis-ci: specify KCONFIG_ALLCONFIG for randconfig
In reply to Wei LiuQuoted 5 lines · Wei Liu
The file provided contains symbols that must be set to certain values. This then prevents random build breakage in travis due to known-incompatible symbol selections.
Signed-off-by Wei Liu <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Re: [PATCH 1/2] Kconfig: introduce allrandom.config
In reply to Wei LiuQuoted 20 lines · Wei Liu
This would be used to force selection of certain items in randconfig.
We need this to force gcov format to be autodetected in randconfig target, which would avoid generating known-incompatible combinations.
Signed-off-by Wei Liu <[email protected]>---
Cc: Doug Goldstein <[email protected]>--- xen/tools/kconfig/allrandom.config | 1 + 1 file changed, 1 insertion(+) create mode 100644 xen/tools/kconfig/allrandom.configxen/tools/kconfig/allrandom.config new file +0
-0
xen/tools/kconfig/allrandom.config line 1
Quoted 1 line
xen/tools/kconfig/allrandom.config new file +1
-0@@ -0,0 +1 @@ +CONFIG_GCOV_FORMAT_AUTODETECT=y
Thank you for doing this Wei. I do agree with Andrew about the explicit comment.
Signature · 1 line
Doug Goldstein
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Re: [PATCH 2/2] Travis-ci: specify KCONFIG_ALLCONFIG for randconfig
In reply to Wei LiuQuoted 17 lines · Wei Liu
The file provided contains symbols that must be set to certain values. This then prevents random build breakage in travis due to known-incompatible symbol selections.
Signed-off-by Wei Liu <[email protected]>---
Cc: Doug Goldstein <[email protected]>--- scripts/travis-build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)scripts/travis-build +0
-0
scripts/travis-build $CC --version · line 10
Quoted 8 lines
scripts/travis-build +1
-1@@ -4,7 +4,7 @@ $CC --version # random config or default config if [[ "${RANDCONFIG}" == "y" ]]; then - make -C xen randconfig + make -C xen KCONFIG_ALLCONFIG=tools/kconfig/allrandom.config randconfig else make -C xen defconfig fi
Signature · 1 line
Doug Goldstein
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel