Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update from upstream #185

Merged
merged 5 commits into from
Sep 30, 2024
Merged

update from upstream #185

merged 5 commits into from
Sep 30, 2024

Conversation

GitMensch
Copy link
Collaborator

NIST testsuite and build system update

sf-mensch added 2 commits September 27, 2024 20:14
* DEPENDENCIES: added perl for running NIST85
* tests/cobol85:
	* summary.pl: compute total duration and modules executed, output those to stderr at the end; close file handles
	* Makefile.am (summary.out): new target depending on summary.log
	* Makefile.am (summary.log): catch stderr of summary.pl into summary.out  file and output that on stdout
	* Makefile.am (URL_NEWCOB_Z): replaced by web archive URL
* configure.ac: require autoconf 2.70 and drop check for lex-library with noyywrap option for AC_PROG_LEX
* HACKING: document dependencies autoconf 2.70 and automake 1.16 and several smaller text updates
* Makefile.am (checkmanual-code-coverage, checkall-code-coverage): new targets removing the need to do that manually
* build_aux/ltmain.sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4

cobc:
* pplex.l, scanner.l: use noyywrap option instead of manually defining related code parts
@GitMensch
Copy link
Collaborator Author

GitMensch commented Sep 27, 2024

As expected: MSY1 cannot (if not manually updated) create the build system. I can have a look at adjusting the CI:

  • drop the likely not needed "install" option during bootstrap
  • let MSYS1 use the CI dist tarball from the Ubuntu test (we do it similar since years on Appveyor).
  • I guess I will push these changes to a test branch, then do the adjustments there; it likely will be some force-pushes (= also days) until everything is finished.

@ddeclerck
Copy link
Contributor

As expected: MSY1 cannot (if not manually updated) create the build system. I can have a look at adjusting the CI:

That would be very nice ; this CI was quite tricky to get working 😅

sf-mensch and others added 3 commits September 29, 2024 18:26
configure.ac:
* drop COB_LI_IS_LL in favor of existing COB_32_BIT_LONG
* (cjson=local): use CJSON_CFLAGS and CJSON_LIBS also for this case, fix include not to use quotes

cobc:
* cobc.c (cobc_print_info): drop COB_LI_IS_LL in favor of existing COB_32_BIT_LONG
* typeck.c (cb_tree_list_has_numeric_ref_or_field): cleanup
* typeck.c (cb_emit_accept): always check position
* cobc.c, flag.def: make scope optional for -fdump

libcob:
* fileio.c (cob_fd_file_open) [_WIN32]: workaround for MinGW bug in locking
* common.h, common.c (cob_cleanup_thread): fix declaration
* common.c: drop includes found in coblocal.h
* common.c (cob_alloc_module): changed type and name of cob_mod_ptr
* common.h, coblocal.h: added pragma once for better supporting clangd in single-file mode
* intrinsic.c: speedup for NUMVAL related functions
cobc:
* pplex.l (cb_text_list): prevent duplicates
* cobc.c, help.c, pplex.l: add new flags to output dependencies following gcc: -M to output deps only, -MD to output deps while compiling (in .d files), -MP to output phony targets, -MG to keep missing copybooks, -MQ <target> to Makefile-quote target ; add -fcopybook-deps to output only copybook names instead of file paths. -fcopybook-deps also forces -E, -foneline-deps, -MT=copybooks, disables errors on missing copybooks and removes output on stdout
doc:
* gnucobol.texi: document new dependencies options
@ddeclerck ddeclerck merged commit 61ffca2 into gcos4gnucobol-3.x Sep 30, 2024
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants