Skip to content

Comments

Enhance AIX shared library build to use an export List.#14462

Open
KamathForAIX wants to merge 1 commit intomesonbuild:masterfrom
KamathForAIX:gh_14334
Open

Enhance AIX shared library build to use an export List.#14462
KamathForAIX wants to merge 1 commit intomesonbuild:masterfrom
KamathForAIX:gh_14334

Conversation

@KamathForAIX
Copy link
Contributor

Closes #14334

@KamathForAIX KamathForAIX requested a review from jpakkane as a code owner April 7, 2025 13:24
@KamathForAIX
Copy link
Contributor Author

KamathForAIX commented Apr 7, 2025

Hi @eli-schwartz and community members,

I had to close #14335 due to merge conflicts and changes in ninja-backend.py file coming which were not made by me post sync.

Apologies for the same.

os.environ['PATH'] = origpath

def aix_syms(libfilename: str, outfilename: str) -> None:
nm_output = subprocess.run(rf"nm -BCg {libfilename} | egrep ' [TDB] ' | sed -e 's/.* //' | egrep -v '\\$' | sed -e 's/^[.]//' | sort | uniq",
Copy link
Member

Choose a reason for hiding this comment

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

Shell pipelines are never acceptable. This same functionality must be provided with Python.

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. Thanks, @jpakkane. I will definitely try to change this and will keep it in my mind. As of now, we are redesigning this pull request with @eli-schwartz. Post that I will try.

In case of any constraints will get back.

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.

Enhance AIX shared library build to use an export List

2 participants