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

Invalid use of "std::filesystem" #547

Closed
smaslov-intel opened this issue May 26, 2023 · 3 comments · Fixed by #548
Closed

Invalid use of "std::filesystem" #547

smaslov-intel opened this issue May 26, 2023 · 3 comments · Fixed by #548
Milestone

Comments

@smaslov-intel
Copy link
Contributor

This should be just "filesystem" not "std::filesystem":

std::filesystem::path file_path = "",

Also testing with gcc 4.7.5 is needed, as it is used by some of dependecies

jandres742 pushed a commit to jandres742/unified-runtime that referenced this issue May 26, 2023
Resolves: oneapi-src#547

Signed-off-by: Jaime Arteaga <[email protected]>
@smaslov-intel
Copy link
Contributor Author

@pbalcer : will you add testing with older gcc?

@pbalcer
Copy link
Contributor

pbalcer commented May 31, 2023

We certainly want to expand the scope of testing we currently do, which includes having more OSes. See #457. This work is currently blocked by the need for our own infrastructure where we can run custom OS images. Using containers on GHA would not be sufficient.

However, none of the officially supported distros ship with a compiler this old. SYCL itself also says that it requires GCC version 7.1.0 or later.
While it would certainly be possible for us to create such a bespoke configuration to test with, we need to be mindful of keeping the matrix of supported platforms within a reasonable scope.

@kbenzie

@kbenzie
Copy link
Contributor

kbenzie commented May 31, 2023

intel/llvm is now requiring C++17 and UR follows this requirement. GCC 4.7.5 definitely does not support C++17 so I'm not sure how intel/llvm could be getting compiled with it.

In the first RHEL 7 bug report we got, the compiler toolchain in use was GCC 7.x even though the default toolchain in that distro is GCC 4.7.5. So it feels to me like that is the actual minimum bar for GCC toolchain support.

@kbenzie kbenzie added this to the 0.7 milestone Aug 3, 2023
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 a pull request may close this issue.

3 participants