Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corefx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Vorlicek <janvorli@microsoft.com>2016-12-09 18:49:54 +0300
committerGitHub <noreply@github.com>2016-12-09 18:49:54 +0300
commitf9bedd195de47532684246f88201e6736a863909 (patch)
treee382f9025b8c60f7c6a0ec29d2977c8aedc6e786 /config.json
parent6f48f1959c292aa78fe38902f62e9dd33436c6c5 (diff)
Add portableLinux option for build-native.sh (#14362)
This change adds portableLinux option to the src/Native/build-native.sh and also enables its passing through from the root build-native.sh and build.sh. This option enables or disables build of native binaries portable over Linux distros based on glibc. I have also modified the build-native.sh behavior for the staticLibLink option. Before, if you ran build with this option and then later on ran the build without this option, it was still considered as being set since the previous value was cached. With my change, it rebuilds the binaries any time you change the option.
Diffstat (limited to 'config.json')
-rw-r--r--config.json15
1 files changed, 14 insertions, 1 deletions
diff --git a/config.json b/config.json
index 30320f4322..4fa08d5f6d 100644
--- a/config.json
+++ b/config.json
@@ -186,6 +186,12 @@
"values": ["Numeric values"],
"defaultValue": "--numproc ${ProcessorCount}"
},
+ "AdditionalArgs": {
+ "description": "Pass additional arguments to the native_build script",
+ "valueType": "passThrough",
+ "values": [],
+ "defaultValue": ""
+ },
"Project": {
"description": "Project where the commands are going to be applied.",
"valueType": "passThrough",
@@ -355,6 +361,12 @@
"settings": {
"HostOs": "default"
}
+ },
+ "portableLinux":{
+ "description": "Make the build-native script generate binaries that are portable over glibc based Linux distros.",
+ "settings": {
+ "AdditionalArgs": "portableLinux"
+ }
}
},
"defaultValues": {
@@ -364,7 +376,8 @@
"BuildArchitecture": "default",
"CmakeBuildType": "default",
"HostOs": "default",
- "ProcessorCount": "default"
+ "ProcessorCount": "default",
+ "AdditionalArgs": "default"
}
}
},