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

bug[next]: Use same python in CMake as used for execution #1567

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

tehrengruber
Copy link
Contributor

No description provided.

@@ -76,7 +76,7 @@
BOOL_TYPES: Final[Tuple[type, ...]] = cast(Tuple[type, ...], BoolScalar.__args__) # type: ignore[attr-defined]


IntScalar: TypeAlias = Union[int8, int16, int32, int64, int]
Copy link
Contributor

Choose a reason for hiding this comment

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

is this intentional in this PR? If yes, that's not the right solution.

@edopao
Copy link
Contributor

edopao commented Jul 4, 2024

I wonder if this bug is also the reason why I could not make this change suggested by @havogt:
a2d0634

python_executable = sys.executable

# Get Python library path
python_library = sysconfig.get_config_var('LIBDIR') + '/' + sysconfig.get_config_var('LDLIBRARY')
Copy link
Contributor

Choose a reason for hiding this comment

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

Just a suggestion:

Suggested change
python_library = sysconfig.get_config_var('LIBDIR') + '/' + sysconfig.get_config_var('LDLIBRARY')
python_library = f"{sysconfig.get_config_var('LIBDIR')}/{sysconfig.get_config_var('LDLIBRARY')}"

Fix operations on Field with origin different form zero (Identified on GridTools.jl)
@egparedes
Copy link
Contributor

@tehrengruber What is the status of this PR? If it is still relevant and needed you should address the issues from the review.

And how is the last commit related to the other contents of this PR?

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.

5 participants