From 43f1a6a252e0c897d7e66a3ce9f29bfe0fa1c8fe Mon Sep 17 00:00:00 2001 From: Guytri Kastane Date: Tue, 14 May 2024 10:52:24 +0200 Subject: [PATCH] spns #41843: support python API if system NLopt --- applications/SALOME-master-native.pyconf | 3 ++- products/nlopt.pyconf | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/applications/SALOME-master-native.pyconf b/applications/SALOME-master-native.pyconf index 001a1b3..3c82a54 100644 --- a/applications/SALOME-master-native.pyconf +++ b/applications/SALOME-master-native.pyconf @@ -234,6 +234,7 @@ __overwrite__ : # - Qt minimal version 5.12 # - xmlpatterns executable __condition__ : "VARS.dist in ['DB10']" + 'APPLICATION.products.nlopt' : '2.4.2' 'APPLICATION.products.opencv' : '3.2.0' 'APPLICATION.products.cminpack' : 'native' 'APPLICATION.products.hdf5' : 'native' @@ -283,7 +284,7 @@ __overwrite__ : } { __condition__ : "VARS.dist in ['CO9']" - 'APPLICATION.products.nlopt' : '2.4.2' + 'APPLICATION.products.nlopt' : '2.4.2' 'APPLICATION.products.cminpack' : '1.3.6' 'APPLICATION.products.qwt' : '6.1.2' 'APPLICATION.products.PyQt' : '5.15.3' diff --git a/products/nlopt.pyconf b/products/nlopt.pyconf index 3567784..9f22871 100644 --- a/products/nlopt.pyconf +++ b/products/nlopt.pyconf @@ -6,9 +6,9 @@ default : get_source : "archive" system_info : { - rpm : ["NLopt"] + rpm : ["NLopt","python3-NLopt"] rpm_dev : ["NLopt-devel"] - apt : ["libnlopt0","libnlopt-cxx0"] + apt : ["libnlopt0","libnlopt-cxx0","python3-nlopt"] apt_dev : ["libnlopt-dev","libnlopt-cxx-dev" ] } environ : -- 2.39.2