Skip to content

[SYCLomatic] Fix the <cmath> header file not found issue#2536

Merged
zhimingwang36 merged 5 commits intooneapi-src:SYCLomaticfrom
ShengchenJ:fix_deiabn_search
Dec 5, 2024
Merged

[SYCLomatic] Fix the <cmath> header file not found issue#2536
zhimingwang36 merged 5 commits intooneapi-src:SYCLomaticfrom
ShengchenJ:fix_deiabn_search

Conversation

@ShengchenJ
Copy link
Copy Markdown
Contributor

On the ubuntu, when user installed the gcc package by "apt install gcc-" and not installed the libstdc++ package, the clang will search the /usr/lib/gcc/x86_64-linux-gnu to get the latest GCC version as default one. The PR will compare all the candidate and use the gcc and libstdc++ all installed version.

On the ubuntu, when user installed the gcc package by "apt install
gcc-<version>" and not installed the libstdc++ package, the clang will
search the /usr/lib/gcc/x86_64-linux-gnu to get the latest GCC version
as default one. The PR will compare all the candidate and use the gcc
and libstdc++ all installed version.

Signed-off-by: Chen, Sheng S <sheng.s.chen@intel.com>
@ShengchenJ ShengchenJ requested a review from a team as a code owner December 3, 2024 08:55
Copy link
Copy Markdown
Contributor

@tomflinda tomflinda left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Chen, Sheng S <sheng.s.chen@intel.com>
@ShengchenJ ShengchenJ changed the title [SYCLomatic] Fix the cmath not found issue [SYCLomatic] Fix the <cmath> header file not found issue Dec 4, 2024
Signed-off-by: Chen, Sheng S <sheng.s.chen@intel.com>
Signed-off-by: Chen, Sheng S <sheng.s.chen@intel.com>
Comment thread clang/lib/Driver/ToolChains/Gnu.cpp
Comment thread clang/lib/Driver/ToolChains/Gnu.h
Signed-off-by: Chen, Sheng S <sheng.s.chen@intel.com>
@zhimingwang36 zhimingwang36 merged commit 9bea475 into oneapi-src:SYCLomatic Dec 5, 2024
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