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

Migrate Processor Detection from OpenJ9 to OMR part 1 #4662

Merged
merged 1 commit into from
Dec 12, 2019

Conversation

AidanHa
Copy link
Contributor

@AidanHa AidanHa commented Dec 10, 2019

Original PR: #4503

There was a CI compile error on X (https://ci.eclipse.org/openj9/job/Build_JDK11_x86-64_linux_cm_OMR/413/). From discussion with @rwy0717, we have decided to rename some macros/functions, as well as making omrsysinfo_get_x86_cpuid a static function. This fixes the build issues we were having on x that previous testing did not catch, while keeping our naming scheme consistent.

Here is what the PR consist of:

-The original commit from #4503

-1 commit where I renamed all of the added static functions in port/unix/omrport.c and

-1 commit where I renamed the features' macro name to match the processors' macro names

-1 commit where I made omrsysinfo_get_x86_cpuid static as per request here: #4656 (comment)

@AidanHa AidanHa force-pushed the Issue4339 branch 3 times, most recently from 738c6a2 to d39f2b4 Compare December 10, 2019 19:18
@AidanHa AidanHa changed the title Migrate Processor Detection from OpenJ9 to OMR part 1 [WIP]Migrate Processor Detection from OpenJ9 to OMR part 1 Dec 10, 2019
@AidanHa AidanHa changed the title [WIP]Migrate Processor Detection from OpenJ9 to OMR part 1 Migrate Processor Detection from OpenJ9 to OMR part 1 Dec 10, 2019
@rwy7
Copy link
Contributor

rwy7 commented Dec 10, 2019

@genie-omr build all

Move required macros, enums and structs from OpenJ9 to OMR's port library
Add function signatures for processor/feature detection to OMR
Implement processor detection on Windows
Add processor and feature detection for Unix Includes Linux,
AIX PPC and ZOS systems
Add test to verify processor/feature detection.

Signed-off-by: Aidan Ha <qbha@edu.uwaterloo.ca>
@rwy7
Copy link
Contributor

rwy7 commented Dec 11, 2019

@genie-omr build all

@rwy7
Copy link
Contributor

rwy7 commented Dec 11, 2019

@genie-omr build arm

@rwy7 rwy7 merged commit ad44f12 into eclipse-omr:master Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants