Skip to content

[hexagon] Add linux emulation#940

Open
quic-seaswara wants to merge 1 commit intomainfrom
hexagon_linux
Open

[hexagon] Add linux emulation#940
quic-seaswara wants to merge 1 commit intomainfrom
hexagon_linux

Conversation

@quic-seaswara
Copy link
Contributor

Add hexagonlinux emulation, and enable hexagon linux tests.

This change also removes the special casing for hexagon-linux-link/x86_64-link.

Add hexagonlinux emulation, and enable hexagon linux tests.

This change also removes the special casing for hexagon-linux-link/x86_64-link.

Signed-off-by: Shankar Easwaran <seaswara@qti.qualcomm.com>
if(${target_name} MATCHES "X86")
set(ld_eld_name "x86_64-link")
endif()
string(TOLOWER "${target_name}-link" ld_eld_name)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to handle x86_64 differently as before (Line 40-41 from before)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want to use ld.eld instead of the symlink wrappers.

config.suffixes = ['.test']
for i, (k, v) in enumerate(config.substitutions):
if k == '%emulation':
config.substitutions[i] = (k, '-mhexagonlinux')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add a break statement here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

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.

3 participants