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

Clang transpiler integration #756

Open
wants to merge 13 commits into
base: development
Choose a base branch
from

Conversation

vyast-softserveinc
Copy link

Description

This pull request is aimed for integration occa-transpiler library for providing full C++ support under the OCCA

Added:

option for switching between old & new transpiler transpiler-version

@deukhyun-cha
Copy link
Contributor

cmake -DOCCA_CLANG_BASED_TRANSPILER=ON worked for me to get the new transpiler source and generate the build.

@@ -67,6 +68,14 @@ $ cmake --install build --prefix install

If dependencies are installed in a non-standard location, set the corresponding [environment variable](INSTALL.md#dependency-paths) to this path.

For building with C++ support/occa-transpiler:
Copy link
Contributor

Choose a reason for hiding this comment

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

Minor: perhaps this could be moved to INSTALL.md (for consistency)?

Copy link
Contributor

Choose a reason for hiding this comment

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

Also I believe OCCA has Makefile to build without CMake, so it would probably be helpful to update it supporting this if possible or at least mention that this feature only support CMake build.

Copy link
Author

Choose a reason for hiding this comment

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

Ok. I will move it

cmake/GitSubmodules.cmake Outdated Show resolved Hide resolved
examples/cpp/31_oklt_v3_moving_avg/main.cpp Outdated Show resolved Hide resolved
src/occa/internal/bin/occa.cpp Show resolved Hide resolved
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.

None yet

3 participants