Skip to content
Unverified Commit 8dc474c6 authored by madanial0's avatar madanial0 Committed by GitHub
Browse files

[flang] Pass Argv0 to getIntriniscDir and getOpenMPHeadersDir (#73254)



The `llvm::sys::fs::getMainExecutable(nullptr, nullptr)` is not able to
obtain the correct executable path on AIX without Argv0 due to the lack
of a current process on AIX's `proc` filesystem. This causes a build
failure on AIX as intrinsic module directory is missing.

---------

Co-authored-by: default avatarMark Danial <mak.danial@ibm.com>
parent 0d59cfc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment