https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
Kubilay Kocak changed:
What|Removed |Added
Status|New |Open
Severity|Affects On
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
--- Comment #3 from Ting-Wei Lan ---
Created attachment 207213
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=207213&action=edit
Patch
I just found a solution for the problem. It needs
-DPython3_FIND_STRATEGY=LOCATION to prefer
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
--- Comment #4 from Kubilay Kocak ---
(In reply to Ting-Wei Lan from comment #3)
Is -DPython3_EXECUTABLE=${PYTHON_CMD} *sufficient* on its own to explicit set
the path to Python we want?
--
You are receiving this mail because:
You are on
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
--- Comment #5 from Ting-Wei Lan ---
(In reply to Kubilay Kocak from comment #4)
No, the default is -DPython3_FIND_STRATEGY=VERSION, and CMake will try to find
the highest version even if -DPython3_EXECUTABLE=${PYTHON_CMD} is used.
--
You
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
--- Comment #6 from Kubilay Kocak ---
(In reply to Ting-Wei Lan from comment #5)
That sounds broken. If a specific version is specified, that should preclude a
search, no?
Almost all other CMake projects I've come across either don't hav
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
--- Comment #7 from Ting-Wei Lan ---
(In reply to Kubilay Kocak from comment #6)
plasma5-breeze-gtk does nothing special here. It just uses
find_package(Python3) provided by CMake upstream with two lines of code.
find_package(Python3 COM
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
--- Comment #8 from Kubilay Kocak ---
(In reply to Ting-Wei Lan from comment #7)
Thanks for the analysis, and yeh, that sounds like the linked upstream issue in
comment 6.
What I'm not quite sure about is why most projects up until now us
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239990
Kubilay Kocak changed:
What|Removed |Added
Summary|[PATCH] devel/llvm90 and|devel/llvm90 and
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
--- Comment #9 from Ting-Wei Lan ---
(In reply to Kubilay Kocak from comment #8)
PYTHON_EXECUTABLE seems to come from the older and deprecated PythonInterp
module: https://cmake.org/cmake/help/v3.15/module/FindPythonInterp.html.
--
You ar
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
Kubilay Kocak changed:
What|Removed |Added
See Also||https://github.com/conda-fo
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
--- Comment #10 from Kubilay Kocak ---
See Also: https://cmake.org/cmake/help/v3.15/policy/CMP0094.html#policy:CMP0094
--
You are receiving this mail because:
You are on the CC list for the bug.
___
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240343
--- Comment #11 from Kubilay Kocak ---
In particular from the CMake policy:
This policy was introduced in CMake version 3.15. Use the cmake_policy()
command to set it to OLD or NEW explicitly. Unlike many policies, CMake version
3.15.3 doe
12 matches
Mail list logo