You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ph...@apache.org on 2019/02/13 11:57:58 UTC
[nifi-minifi-cpp] branch master updated: MINIFICPP-734 - Add Python
option to bootstrap
This is an automated email from the ASF dual-hosted git repository.
phrocker pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git
The following commit(s) were added to refs/heads/master by this push:
new d162df3 MINIFICPP-734 - Add Python option to bootstrap
d162df3 is described below
commit d162df3c57cdd32857e87e88075abfe36c6d846a
Author: Arpad Boda <ab...@hortonworks.com>
AuthorDate: Mon Feb 11 14:44:53 2019 +0100
MINIFICPP-734 - Add Python option to bootstrap
This closes #483.
Signed-off-by: Marc Parisi <ph...@apache.org>
---
bootstrap.sh | 3 +++
bstrp_functions.sh | 2 ++
2 files changed, 5 insertions(+)
diff --git a/bootstrap.sh b/bootstrap.sh
index ff3eadf..064d87a 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -268,6 +268,9 @@ add_disabled_option KAFKA_ENABLED ${FALSE} "ENABLE_LIBRDKAFKA" "3.4.0"
add_disabled_option MQTT_ENABLED ${FALSE} "ENABLE_MQTT"
+add_disabled_option PYTHON_ENABLED ${FALSE} "ENABLE_PYTHON"
+add_dependency PYTHON_ENABLED "python"
+
TESTS_DISABLED=${FALSE}
add_disabled_option SQLITE_ENABLED ${FALSE} "ENABLE_SQLITE"
diff --git a/bstrp_functions.sh b/bstrp_functions.sh
index c4d6e6c..32bcde1 100755
--- a/bstrp_functions.sh
+++ b/bstrp_functions.sh
@@ -256,6 +256,7 @@ show_supported_features() {
echo "K. Bustache Support ............$(print_feature_status BUSTACHE_ENABLED)"
echo "L. MQTT Support ................$(print_feature_status MQTT_ENABLED)"
echo "M. SQLite Support ..............$(print_feature_status SQLITE_ENABLED)"
+ echo "N. Python Support ..............$(print_feature_status PYTHON_ENABLED)"
echo "****************************************"
echo " Build Options."
echo "****************************************"
@@ -288,6 +289,7 @@ read_feature_options(){
k) ToggleFeature BUSTACHE_ENABLED ;;
l) ToggleFeature MQTT_ENABLED ;;
m) ToggleFeature SQLLITE_ENABLED ;;
+ n) ToggleFeature PYTHON_ENABLED ;;
1) ToggleFeature TESTS_DISABLED ;;
2) EnableAllFeatures ;;
p) FEATURES_SELECTED="true" ;;