From: Tobias Geerinckx-Rice Date: Sat, 11 Dec 2021 19:22:49 +0100 Subject: [PATCH] gnu: i7z: Build with GCC 10. Patch from Debian, modified to apply to our i7z sources in src/. Author: Andreas Beckmann Description: fix FTBFS with gcc-10 gcc-10 defaults to -fno-common see https://gcc.gnu.org/gcc-10/porting_to.html Bug-Debian: https://bugs.debian.org/957351 --- a/src/i7z_Dual_Socket.c +++ b/src/i7z_Dual_Socket.c @@ -37,7 +37,7 @@ float Read_Voltage_CPU(int cpu_num); extern struct program_options prog_options; FILE *fp_log_file; -struct timespec global_ts; +extern struct timespec global_ts; extern FILE *fp_log_file_freq_1, *fp_log_file_freq_2; extern char* CPU_FREQUENCY_LOGGING_FILE_single; option value='koszko' selected='selected'>koszko Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2021-03-06tests: do not hard code HTTP ports...Previously, test cases could fail if some process was listening at a hard-coded port. This patch eliminates most of these potential failures, by automatically assigning an unbound port. This should allow for building multiple guix trees in parallel outside a build container, though this is currently untested. The test "home-page: Connection refused" in tests/lint.scm still hardcodes port 9999, however. * guix/tests/http.scm (http-server-can-listen?): remove now unused procedure. (%http-server-port): default to port 0, meaning the OS will automatically choose a port. (open-http-server-socket): remove the false statement claiming this procedure is exported and also return the allocated port number. (%local-url): raise an error if the port is obviously unbound. (call-with-http-server): set %http-server-port to the allocated port while the thunk is called. * tests/derivations.scm: adjust test cases to use automatically assign a port. As there is no risk of a port conflict now, do not make any tests conditional upon 'http-server-can-listen?' anymore. * tests/elpa.scm: likewise. * tests/lint.scm: likewise, and add a TODO comment about a port that is still hard-coded. * tests/texlive.scm: likewise. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Maxime Devos
2020-01-17import: texlive: Avoid uses of '@@' in tests....* guix/import/texlive.scm (fetch-sxml, sxml->package): Export. * tests/texlive.scm <top level>: Call '%http-server-port'. ("fetch-sxml: returns SXML for valid XML"): Use 'with-http-server' and set 'current-http-proxy' instead of using 'mock'. ("sxml->package"): Remove use of '@@'. Ludovic Courtès