Browse Source

IOS-2882 gpm macOS working

IOS-2882
Andreas Buff 6 months ago
parent
commit
af4e9d4728
3 changed files with 141 additions and 1 deletions
  1. +71
    -0
      CommonPEPDependencies/CommonPEPDependencies.xcodeproj/project.pbxproj
  2. +67
    -0
      CommonPEPDependencies/CommonPEPDependencies.xcodeproj/xcshareddata/xcschemes/build_gmp_macOS.xcscheme
  3. +3
    -1
      buildcode/gmp.code

+ 71
- 0
CommonPEPDependencies/CommonPEPDependencies.xcodeproj/project.pbxproj View File

@ -29,6 +29,17 @@
name = build_gmp_iOS;
productName = "libetpan-dependencies_macOS";
};
152E499426A9B88E009BD3CE /* build_gmp_macOS */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 152E499626A9B88E009BD3CE /* Build configuration list for PBXAggregateTarget "build_gmp_macOS" */;
buildPhases = (
152E499526A9B88E009BD3CE /* Build */,
);
dependencies = (
);
name = build_gmp_macOS;
productName = "libetpan-dependencies_macOS";
};
1585EE16269DCEA600B822E1 /* build-pEpMIME-dependencies_macOS */ = {
isa = PBXAggregateTarget;
buildConfigurationList = 1585EE17269DCEA600B822E1 /* Build configuration list for PBXAggregateTarget "build-pEpMIME-dependencies_macOS" */;
@ -200,6 +211,7 @@
1585EF0626A0479800B822E1 /* Build */,
);
dependencies = (
152E499326A9B88A009BD3CE /* PBXTargetDependency */,
);
name = build_sequoia_iOS;
productName = "libetpan-dependencies_macOS";
@ -243,6 +255,13 @@
/* End PBXAggregateTarget section */
/* Begin PBXContainerItemProxy section */
152E499226A9B88A009BD3CE /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585EE0B269DC6DD00B822E1 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 152E498D26A9B252009BD3CE;
remoteInfo = build_gmp_iOS;
};
1585EE35269EC8DD00B822E1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 1585EE0B269DC6DD00B822E1 /* Project object */;
@ -401,6 +420,7 @@
1585EE3E269EC9BB00B822E1 /* build_openssl_macOS */,
1585EE48269ECB8700B822E1 /* build_cryptopp_macOS */,
1585EEA5269EDA1E00B822E1 /* build_asn1cexecutable */,
152E499426A9B88E009BD3CE /* build_gmp_macOS */,
1585EECA269EF0F100B822E1 /* build_sequoia_macOS */,
1585EE43269ECB2500B822E1 /* build_pEpwebserver_macOS */,
1585EEAA269EDAE200B822E1 /* build_pEpengine_macOS */,
@ -459,6 +479,25 @@
shellScript = "LIB_NAME=\"gmp\"\n\nSCRIPTS_DIR=\"${PROJECT_DIR}/..\"\nPREFIX=\"${PROJECT_DIR}/$(${SCRIPTS_DIR}/get-config-prefix.sh)\"\n\nBUILD_SCRIPT=\"${SCRIPTS_DIR}/generate_and_run_ios_dependency_build_script.sh\" \nsh \"${BUILD_SCRIPT}\" $LIB_NAME \"${PREFIX}\"\n";
showEnvVarsInLog = 0;
};
152E499526A9B88E009BD3CE /* Build */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = Build;
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = "/bin/sh -l";
shellScript = "LIB_NAME=\"gmp\"\n\nSCRIPTS_DIR=\"${PROJECT_DIR}/..\"\nPREFIX=\"${PROJECT_DIR}/$(${SCRIPTS_DIR}/get-config-prefix.sh)\"\n\nBUILD_SCRIPT=\"${SCRIPTS_DIR}/generate_and_run_mac_dependency_build_script.sh\" \nsh \"${BUILD_SCRIPT}\" $LIB_NAME \"${PREFIX}\"\n";
showEnvVarsInLog = 0;
};
1585EE28269DD87700B822E1 /* Build */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
@ -728,6 +767,11 @@
/* End PBXShellScriptBuildPhase section */
/* Begin PBXTargetDependency section */
152E499326A9B88A009BD3CE /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 152E498D26A9B252009BD3CE /* build_gmp_iOS */;
targetProxy = 152E499226A9B88A009BD3CE /* PBXContainerItemProxy */;
};
1585EE36269EC8DD00B822E1 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 1585EE27269DD87700B822E1 /* build_libiconv_macOS */;
@ -852,6 +896,24 @@
};
name = Release;
};
152E499726A9B88E009BD3CE /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
152E499826A9B88E009BD3CE /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_TEAM = NQLYU6MGPN;
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
1585EE0F269DC6DD00B822E1 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
@ -1209,6 +1271,15 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
152E499626A9B88E009BD3CE /* Build configuration list for PBXAggregateTarget "build_gmp_macOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
152E499726A9B88E009BD3CE /* Debug */,
152E499826A9B88E009BD3CE /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
1585EE0E269DC6DD00B822E1 /* Build configuration list for PBXProject "CommonPEPDependencies" */ = {
isa = XCConfigurationList;
buildConfigurations = (


+ 67
- 0
CommonPEPDependencies/CommonPEPDependencies.xcodeproj/xcshareddata/xcschemes/build_gmp_macOS.xcscheme View File

@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1250"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "152E499426A9B88E009BD3CE"
BuildableName = "build_gmp_macOS"
BlueprintName = "build_gmp_macOS"
ReferencedContainer = "container:CommonPEPDependencies.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "152E499426A9B88E009BD3CE"
BuildableName = "build_gmp_macOS"
BlueprintName = "build_gmp_macOS"
ReferencedContainer = "container:CommonPEPDependencies.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

+ 3
- 1
buildcode/gmp.code View File

@ -18,7 +18,7 @@ if [ ! -d "${GMP_DIR}" ]; then
tar xvf ${GMP_NAME}.tar.bz2
fi
export CFLAGS="-arch ${ARCH} -isysroot ${SDK_PATH} -miphoneos-version-min=${IOS_DEPLOYMENT_TARGET} -std=c99"
export CFLAGS="-arch ${ARCH} -isysroot ${SDK_PATH} -std=c99"
export LDFLAGS="-arch ${ARCH}"
export CC="$(xcrun --sdk ${SDK} -f clang) -arch ${ARCH} -isysroot ${SDK_PATH}"
@ -28,3 +28,5 @@ pushd gmp-$GMP_VERSION
make -j4
make install
popd
rm -rf *.bz2

Loading…
Cancel
Save