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

10.2.1 #208

Merged
merged 10 commits into from
Mar 22, 2024
Merged

10.2.1 #208

merged 10 commits into from
Mar 22, 2024

Conversation

bruno-at-orange
Copy link
Contributor

Bug fix: wrong errno in remote fread
some minor improvments

folmos-at-orange and others added 10 commits February 26, 2024 13:47
* Update KNI-tutorial

Add installation notes for windows and Linux
Remove the `v` in the tag id when updating the repo
Update the README of the tutorial 

* Add kni in pack-nsis

Add the java test on windows and linux and remove the action nvoxland/jar-download-action. It works only on Linux, I replaced it with a simple curl.

* Use scripts to run Java test of KNI

Test displayed in the tutorial are now run in the CI test

* Add a job to test KNI in pack-nsis

* Update docker files: add curl, remove wget
 remove the custom installation of cmake in rocky8 because cmake is now up-to-date with dnf
When launching Khiops with GUI in windows the `jvm.dll` library is
loaded.  This library has as dependency `vcruntime140.dll` (Visual C
Runtime) which is usually installed by default in Windows.

In case it is not installed Khiops failed without any meaningful
message. To fix this, in the launcher script:
- We add %JAVA_HOME%\bin to the path so `vcruntime140.dll` is always
  found (JRE bundles it).
- We add a new error window that is launched when Khiops exits with
  return code different from 0 o 2, showing the log.
…k-on-some-machine-under-windows-11

Fix jvm dependency lib not being found in Windows
In the class PLMPISystemFileDriverRemote, we use a new class attribute nLocalErrno to store errno code.
We can not relies on the global errno for file access because MPI_Recv modifies errno (sets it to 11, Resource Temporarily Unavailable) even if all is OK.
The version macros definitions were being "fixed" by clang-format
because they contained a '-' which was interpreted as a minus sign.

To fix it we add an exception to the WhitespaceSensitiveMacros list in
the clang-format config. We change the macro `str` to `KHIOPS_STR` to
avoid potential collisions.

Also we add to CMake the KHIOPS_VERSION variable which is set to the new
versioning scheme. Otherwise cmake refuses to set it as a project's
version.

(cherry picked from commit df6f20e)
In khiops-env, the jvm.so search is enabled only if the khiops packages is installed.
The new versioning scheme MAJOR.MINOR.PATCH{-PRE_RELEASE.PR_INCREMENT} is now handled in the Linux packages:
- in the packages names e.g. khiops_10.5.0-a1-1_amd64.deb or kni-10.5.0_a1-1.x86_64.rpm
- in the so files installed by kni e.g. libKhiopsNativeInterface.so.10.5.0-a1

(cherry picked from commit 5154cbf)
@folmos-at-orange folmos-at-orange merged commit 6cfe3b3 into main Mar 22, 2024
92 of 94 checks passed
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.

2 participants