core_version = "7.0.0"
-version = "1.24.1"
+version = "1.24.2"
GPR_PUBLIC_HDRS = [
"include/grpc/support/alloc.h",
cmake_minimum_required(VERSION 3.5.1)
set(PACKAGE_NAME "grpc")
-set(PACKAGE_VERSION "1.24.1")
+set(PACKAGE_VERSION "1.24.2")
set(PACKAGE_STRING "${PACKAGE_NAME} ${PACKAGE_VERSION}")
set(PACKAGE_TARNAME "${PACKAGE_NAME}-${PACKAGE_VERSION}")
set(PACKAGE_BUGREPORT "https://github.com/grpc/grpc/issues/")
endif
CORE_VERSION = 8.0.0
-CPP_VERSION = 1.24.1
-CSHARP_VERSION = 2.24.1
+CPP_VERSION = 1.24.2
+CSHARP_VERSION = 2.24.2
CPPFLAGS_NO_ARCH += $(addprefix -I, $(INCLUDES)) $(addprefix -D, $(DEFINES))
CPPFLAGS += $(CPPFLAGS_NO_ARCH) $(ARCH_FLAGS)
core_version: 8.0.0
csharp_major_version: 2
g_stands_for: ganges
- version: 1.24.1
+ version: 1.24.2
filegroups:
- name: alts_tsi
headers:
Pod::Spec.new do |s|
s.name = 'gRPC-C++'
# TODO (mxyan): use version that match gRPC version when pod is stabilized
- # version = '1.24.1'
+ # version = '1.24.2'
version = '0.0.9'
s.version = version
s.summary = 'gRPC C++ library'
s.license = 'Apache License, Version 2.0'
s.authors = { 'The gRPC contributors' => 'grpc-packages@google.com' }
- grpc_version = '1.24.1'
+ grpc_version = '1.24.2'
s.source = {
:git => 'https://github.com/grpc/grpc.git',
Pod::Spec.new do |s|
s.name = 'gRPC-Core'
- version = '1.24.1'
+ version = '1.24.2'
s.version = version
s.summary = 'Core cross-platform gRPC library, written in C'
s.homepage = 'https://grpc.io'
Pod::Spec.new do |s|
s.name = 'gRPC-ProtoRPC'
- version = '1.24.1'
+ version = '1.24.2'
s.version = version
s.summary = 'RPC library for Protocol Buffers, based on gRPC'
s.homepage = 'https://grpc.io'
Pod::Spec.new do |s|
s.name = 'gRPC-RxLibrary'
- version = '1.24.1'
+ version = '1.24.2'
s.version = version
s.summary = 'Reactive Extensions library for iOS/OSX.'
s.homepage = 'https://grpc.io'
Pod::Spec.new do |s|
s.name = 'gRPC'
- version = '1.24.1'
+ version = '1.24.2'
s.version = version
s.summary = 'gRPC client library for iOS/OSX'
s.homepage = 'https://grpc.io'
'src/objective-c/GRPCClient/GRPCCall+Cronet.h',
'src/objective-c/GRPCClient/GRPCCall+OAuth2.h',
'src/objective-c/GRPCClient/GRPCCall+Tests.h',
- 'src/objective-c/GRPCClient/GRPCCall+ChannelArg.h',
- 'src/objective-c/GRPCClient/internal_testing/*.h'
+ 'src/objective-c/GRPCClient/GRPCCall+ChannelArg.h'
ss.private_header_files = 'src/objective-c/GRPCClient/private/GRPCCore/*.h'
- ss.source_files = 'src/objective-c/GRPCClient/internal_testing/*.{h,m}',
- 'src/objective-c/GRPCClient/private/GRPCCore/*.{h,m}',
+ ss.source_files = 'src/objective-c/GRPCClient/private/GRPCCore/*.{h,m}',
'src/objective-c/GRPCClient/GRPCCall+ChannelArg.h',
'src/objective-c/GRPCClient/GRPCCall+ChannelArg.m',
'src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.h',
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '4.0'
end
+
+ s.subspec 'InternalTesting' do |ss|
+ ss.dependency "#{s.name}/GRPCCore", version
+ ss.public_header_files = 'src/objective-c/GRPCClient/internal_testing/*.h'
+ ss.source_files = 'src/objective-c/GRPCClient/internal_testing/*.{h,m}'
+ ss.header_mappings_dir = 'src/objective-c/GRPCClient'
+
+ ss.ios.deployment_target = '7.0'
+ ss.osx.deployment_target = '10.9'
+ ss.tvos.deployment_target = '10.0'
+ ss.watchos.deployment_target = '4.0'
+ end
end
<date>2018-01-19</date>
<time>16:06:07</time>
<version>
- <release>1.24.1</release>
- <api>1.24.1</api>
+ <release>1.24.2</release>
+ <api>1.24.2</api>
</version>
<stability>
<release>stable</release>
import setuptools
from setuptools.command import egg_info
+import subprocess
+from subprocess import PIPE
+
# Redirect the manifest template from MANIFEST.in to PYTHON-MANIFEST.in.
egg_info.manifest_maker.template = 'PYTHON-MANIFEST.in'
ENABLE_DOCUMENTATION_BUILD = os.environ.get(
'GRPC_PYTHON_ENABLE_DOCUMENTATION_BUILD', False)
+def check_linker_need_libatomic():
+ """Test if linker on system needs libatomic."""
+ code_test = (b'#include <atomic>\n' +
+ b'int main() { return std::atomic<int64_t>{}; }')
+ cc_test = subprocess.Popen(['cc', '-x', 'c++', '-std=c++11', '-'],
+ stdin=PIPE,
+ stdout=PIPE,
+ stderr=PIPE)
+ cc_test.communicate(input=code_test)
+ return cc_test.returncode != 0
+
# There are some situations (like on Windows) where CC, CFLAGS, and LDFLAGS are
# entirely ignored/dropped/forgotten by distutils and its Cygwin/MinGW support.
# We use these environment variables to thus get around that without locking
EXTRA_ENV_LINK_ARGS = ''
if "linux" in sys.platform or "darwin" in sys.platform:
EXTRA_ENV_LINK_ARGS += ' -lpthread'
+ if check_linker_need_libatomic():
+ EXTRA_ENV_LINK_ARGS += ' -latomic'
elif "win32" in sys.platform and sys.version_info < (3, 5):
msvcr = cygwinccompiler.get_msvcr()[0]
# TODO(atash) sift through the GCC specs to see if libstdc++ can have any
# influence on the linkage outcome on MinGW for non-C++ programs.
EXTRA_ENV_LINK_ARGS += (
- ' -static-libgcc -static-libstdc++ -mcrtdll={msvcr} '
- '-static'.format(msvcr=msvcr))
+ ' -static-libgcc -static-libstdc++ -mcrtdll={msvcr}'
+ ' -static'.format(msvcr=msvcr))
if "linux" in sys.platform:
- EXTRA_ENV_LINK_ARGS += ' -Wl,-wrap,memcpy -static-libgcc'
+ EXTRA_ENV_LINK_ARGS += ' -Wl,-wrap,memcpy -static-libgcc'
EXTRA_COMPILE_ARGS = shlex.split(EXTRA_ENV_COMPILE_ARGS)
EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_LINK_ARGS)
#include <grpcpp/grpcpp.h>
namespace grpc {
-grpc::string Version() { return "1.24.1"; }
+grpc::string Version() { return "1.24.2"; }
} // namespace grpc
/// <summary>
/// Current <c>AssemblyFileVersion</c> of gRPC C# assemblies
/// </summary>
- public const string CurrentAssemblyFileVersion = "2.24.1.0";
+ public const string CurrentAssemblyFileVersion = "2.24.2.0";
/// <summary>
/// Current version of gRPC C#
/// </summary>
- public const string CurrentVersion = "2.24.1";
+ public const string CurrentVersion = "2.24.2";
}
}
<!-- This file is generated -->
<Project>
<PropertyGroup>
- <GrpcCsharpVersion>2.24.1</GrpcCsharpVersion>
+ <GrpcCsharpVersion>2.24.2</GrpcCsharpVersion>
<GoogleProtobufVersion>3.8.0</GoogleProtobufVersion>
</PropertyGroup>
</Project>
@rem limitations under the License.
@rem Current package versions
-set VERSION=2.24.1
+set VERSION=2.24.2
@rem Adjust the location of nuget.exe
set NUGET=C:\nuget\nuget.exe
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
# before them.
s.name = '!ProtoCompiler-gRPCCppPlugin'
- v = '1.24.1'
+ v = '1.24.2'
s.version = v
s.summary = 'The gRPC ProtoC plugin generates C++ files from .proto services.'
s.description = <<-DESC
# exclamation mark ensures that other "regular" pods will be able to find it as it'll be installed
# before them.
s.name = '!ProtoCompiler-gRPCPlugin'
- v = '1.24.1'
+ v = '1.24.2'
s.version = v
s.summary = 'The gRPC ProtoC plugin generates Objective-C files from .proto services.'
s.description = <<-DESC
// instead. This file can be regenerated from the template by running
// `tools/buildgen/generate_projects.sh`.
-#define GRPC_OBJC_VERSION_STRING @"1.24.1"
+#define GRPC_OBJC_VERSION_STRING @"1.24.2"
pod 'BoringSSL-GRPC', :podspec => "#{GRPC_LOCAL_SRC}/src/objective-c", :inhibit_warnings => true
- pod 'gRPC', :path => GRPC_LOCAL_SRC
- pod 'gRPC-Core', :path => GRPC_LOCAL_SRC
- pod 'gRPC-RxLibrary', :path => GRPC_LOCAL_SRC
- pod 'gRPC-ProtoRPC', :path => GRPC_LOCAL_SRC, :inhibit_warnings => true
+ pod 'gRPC/InternalTesting', :path => GRPC_LOCAL_SRC
+ pod 'gRPC-Core', :path => GRPC_LOCAL_SRC
+ pod 'gRPC-RxLibrary', :path => GRPC_LOCAL_SRC
+ pod 'gRPC-ProtoRPC', :path => GRPC_LOCAL_SRC, :inhibit_warnings => true
pod 'RemoteTest', :path => "RemoteTestClient", :inhibit_warnings => true
end
// instead. This file can be regenerated from the template by running
// `tools/buildgen/generate_projects.sh`.
-#define GRPC_OBJC_VERSION_STRING @"1.24.1"
+#define GRPC_OBJC_VERSION_STRING @"1.24.2"
#define GRPC_C_VERSION_STRING @"8.0.0"
"name": "grpc/grpc-dev",
"description": "gRPC library for PHP - for Developement use only",
"license": "Apache-2.0",
- "version": "1.24.1",
+ "version": "1.24.2",
"require": {
"php": ">=5.5.0",
"google/protobuf": "^v3.3.0"
#ifndef VERSION_H
#define VERSION_H
-#define PHP_GRPC_VERSION "1.24.1"
+#define PHP_GRPC_VERSION "1.24.2"
#endif /* VERSION_H */
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc/_grpcio_metadata.py.template`!!!
-__version__ = """1.24.1"""
+__version__ = """1.24.2"""
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio/grpc_version.py.template`!!!
-VERSION = '1.24.1'
+VERSION = '1.24.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_channelz/grpc_version.py.template`!!!
-VERSION = '1.24.1'
+VERSION = '1.24.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_health_checking/grpc_version.py.template`!!!
-VERSION = '1.24.1'
+VERSION = '1.24.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_reflection/grpc_version.py.template`!!!
-VERSION = '1.24.1'
+VERSION = '1.24.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_status/grpc_version.py.template`!!!
-VERSION = '1.24.1'
+VERSION = '1.24.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_testing/grpc_version.py.template`!!!
-VERSION = '1.24.1'
+VERSION = '1.24.2'
# AUTO-GENERATED FROM `$REPO_ROOT/templates/src/python/grpcio_tests/grpc_version.py.template`!!!
-VERSION = '1.24.1'
+VERSION = '1.24.2'
# GRPC contains the General RPC module.
module GRPC
- VERSION = '1.24.1'
+ VERSION = '1.24.2'
end
module GRPC
module Tools
- VERSION = '1.24.1'
+ VERSION = '1.24.2'
end
end
'src/objective-c/GRPCClient/GRPCCall+Cronet.h',
'src/objective-c/GRPCClient/GRPCCall+OAuth2.h',
'src/objective-c/GRPCClient/GRPCCall+Tests.h',
- 'src/objective-c/GRPCClient/GRPCCall+ChannelArg.h',
- 'src/objective-c/GRPCClient/internal_testing/*.h'
+ 'src/objective-c/GRPCClient/GRPCCall+ChannelArg.h'
ss.private_header_files = 'src/objective-c/GRPCClient/private/GRPCCore/*.h'
- ss.source_files = 'src/objective-c/GRPCClient/internal_testing/*.{h,m}',
- 'src/objective-c/GRPCClient/private/GRPCCore/*.{h,m}',
+ ss.source_files = 'src/objective-c/GRPCClient/private/GRPCCore/*.{h,m}',
'src/objective-c/GRPCClient/GRPCCall+ChannelArg.h',
'src/objective-c/GRPCClient/GRPCCall+ChannelArg.m',
'src/objective-c/GRPCClient/GRPCCall+ChannelCredentials.h',
ss.tvos.deployment_target = '10.0'
ss.watchos.deployment_target = '4.0'
end
+
+ s.subspec 'InternalTesting' do |ss|
+ ss.dependency "#{s.name}/GRPCCore", version
+ ss.public_header_files = 'src/objective-c/GRPCClient/internal_testing/*.h'
+ ss.source_files = 'src/objective-c/GRPCClient/internal_testing/*.{h,m}'
+ ss.header_mappings_dir = 'src/objective-c/GRPCClient'
+
+ ss.ios.deployment_target = '7.0'
+ ss.osx.deployment_target = '10.9'
+ ss.tvos.deployment_target = '10.0'
+ ss.watchos.deployment_target = '4.0'
+ end
end
# AUTO-GENERATED FROM `$REPO_ROOT/templates/tools/distrib/python/grpcio_tools/grpc_version.py.template`!!!
-VERSION = '1.24.1'
+VERSION = '1.24.2'
import setuptools
from setuptools.command import build_ext
+import subprocess
+from subprocess import PIPE
+
# TODO(atash) add flag to disable Cython use
_PACKAGE_PATH = os.path.realpath(os.path.dirname(__file__))
# to have been generated by building first *with* Cython support.
BUILD_WITH_CYTHON = os.environ.get('GRPC_PYTHON_BUILD_WITH_CYTHON', False)
+
+def check_linker_need_libatomic():
+ """Test if linker on system needs libatomic."""
+ code_test = (b'#include <atomic>\n' +
+ b'int main() { return std::atomic<int64_t>{}; }')
+ cc_test = subprocess.Popen(
+ ['cc', '-x', 'c++', '-std=c++11', '-'],
+ stdin=PIPE,
+ stdout=PIPE,
+ stderr=PIPE)
+ cc_test.communicate(input=code_test)
+ return cc_test.returncode != 0
+
+
# There are some situations (like on Windows) where CC, CFLAGS, and LDFLAGS are
# entirely ignored/dropped/forgotten by distutils and its Cygwin/MinGW support.
# We use these environment variables to thus get around that without locking
EXTRA_ENV_LINK_ARGS = ''
if "linux" in sys.platform or "darwin" in sys.platform:
EXTRA_ENV_LINK_ARGS += ' -lpthread'
+ if check_linker_need_libatomic():
+ EXTRA_ENV_LINK_ARGS += ' -latomic'
elif "win32" in sys.platform and sys.version_info < (3, 5):
msvcr = cygwinccompiler.get_msvcr()[0]
# TODO(atash) sift through the GCC specs to see if libstdc++ can have any
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 1.24.1
+PROJECT_NUMBER = 1.24.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 1.24.1
+PROJECT_NUMBER = 1.24.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a