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

Fix collection of object files for omr_static_lib #7177

Merged
merged 1 commit into from
Nov 13, 2023

Conversation

keithc-ca
Copy link
Member

The behavior of GNU make seems to have changed between versions 4.2.1 and 4.3.

The latter appears to prioritize MAKEFLAGS= over (at least some) command-line options, with the effect being that --no-print-directory is ignored and included in the output of show-objects.

If invoked as part of a larger build where the make job server is enabled, there are also warnings that make unwanted contributions to the output of show-objects.

This fixes that, and removes the useless "echo" rule for the already existing objects.

@babsingh
Copy link
Contributor

The commit message is missing the details from the PR description.

omr_static_lib/makefile Outdated Show resolved Hide resolved
@babsingh
Copy link
Contributor

The commit message is missing the details from the PR description.

The details/justification from #7177 (comment) should be included in the commit message's body, which is currently empty.

The behavior of GNU make seems to have changed between versions
4.2.1 and 4.3.

The latter appears to prioritize MAKEFLAGS= over (at least some)
command-line options, with the effect being that --no-print-directory
is ignored and included in the output of show-objects.

If invoked as part of a larger build where the make job server is
enabled, there are also warnings that make unwanted contributions
to the output of show-objects.

This fixes that, and removes the useless "echo" rule for the already
existing objects.

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
@keithc-ca
Copy link
Member Author

commit message is missing the details from the PR description

Fixed in 9cf7484.

@babsingh
Copy link
Contributor

jenkins build all

@babsingh
Copy link
Contributor

https://dev.azure.com/eclipse-omr/ea4519db-b27e-4d19-a971-f01491f803e3/_apis/build/builds/8251/logs/45

In addition to a known failure (#6516), I see multiple occurrences of the below error:

2023-11-13T20:12:08.6461780Z 2: ======================================================================
2023-11-13T20:12:08.6463520Z 2: ERROR: test_generate_allocator_decl_1 (test.cppgentests.CppGeneratorTest.test_generate_allocator_decl_1)
2023-11-13T20:12:08.6465510Z 2: ----------------------------------------------------------------------
2023-11-13T20:12:08.6466990Z 2: Traceback (most recent call last):
2023-11-13T20:12:08.6468790Z 2:   File "/Users/runner/work/1/s/jitbuilder/apigen/test/cppgentests.py", line 245, in test_generate_allocator_decl_1
2023-11-13T20:12:08.6470710Z 2:     self.assertRegexpMatches(self.generator.generate_allocator_decl(class_desc),
2023-11-13T20:12:08.6472170Z 2:     ^^^^^^^^^^^^^^^^^^^^^^^^
2023-11-13T20:12:08.6473790Z 2: AttributeError: 'CppGeneratorTest' object has no attribute 'assertRegexpMatches'

...

2023-11-13T20:12:08.6950220Z 2: FAILED (errors=25, skipped=3)
2023-11-13T20:12:08.6951190Z 2: warning: The package 'jsonschema' is not installed so certain tests will be skipped
2023-11-13T20:12:08.6952240Z  8/49 Test  #2: TestJitBuilderAPIGenerator ..........***Failed    1.56 sec

The undocumented error is seen in other builds and unrelated to the changes in this PR.

@babsingh
Copy link
Contributor

babsingh commented Nov 13, 2023

Opened #7181 for the undocumented failure mentioned in #7177 (comment).

@babsingh babsingh merged commit 10bcf8f into eclipse:master Nov 13, 2023
16 of 18 checks passed
@keithc-ca keithc-ca deleted the uma branch November 13, 2023 23:54
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.

None yet

2 participants