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

CMake : add support for RLM protection #1780

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

cedricga91
Copy link
Contributor

@cedricga91 cedricga91 commented Nov 21, 2024

La procédure d'installation avec la protection FlexLM ne change pas.

Pour réaliser l'installation avec la protection RLM, il faut charger le module RLM_LIcenseAPI (qui fournit la variable RLM_ROOT) à la place du module FlexLM et ajouter l'option -DPROTECTION=RLM à la commande cmake.

On garde FLEXLM comme nom de paquet pour ne pas casser la compatibilité avec les applications déjà existantes basées sur le framework Arcane.

module load RLM_LicenseAPI
export ARCANE_CONFIG_ENABLED_PACKAGES="FLEXLM"
cmake -DREMOVE_UID_ON_DETACH=ON -DCMAKE_DISABLE_FIND_PACKAGE_Xdmf=TRUE -DUSE_GTEST_DEATH_TEST=OFF -DUSE_GRAPH_CONNECTIVITY_POLICY=ON -DALIEN_BUILD_COMPONENT=all -DPROTECTION=RLM ..

A noter que la défintion ARCANE_TEST_RLM devra être supprimée des fichiers suivants le moment voulu :

  • arcane/CMakeLists.txt
  • arcane/src/arcane/impl/FlexLMTools.cc
  • arcane/src/arcane/impl/FlexLMTools.h

gazoppce added 4 commits November 6, 2024 09:36
export ARCANE_CONFIG_ENABLED_PACKAGES="FLEXLM"
cmake -DPROTECTION=RLM ..

Default value for Protection is FLEXLM.
Copy link

codecov bot commented Nov 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.26%. Comparing base (e156f5e) to head (141cd82).
Report is 218 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1780      +/-   ##
==========================================
+ Coverage   70.15%   70.26%   +0.10%     
==========================================
  Files        2256     2258       +2     
  Lines      161018   162285    +1267     
  Branches    18571    18694     +123     
==========================================
+ Hits       112969   114036    +1067     
- Misses      41328    41479     +151     
- Partials     6721     6770      +49     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@cedricga91 cedricga91 changed the title CMake : add support for rlm protection CMake : add support for RLM protection Nov 21, 2024
@cedricga91
Copy link
Contributor Author

@stdcm : si tu as des remarques, n'hésite pas.

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.

1 participant