Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
94d7f854
Commit
94d7f854
authored
9 years ago
by
Craig Tiller
Browse files
Options
Downloads
Plain Diff
Merge github.com:grpc/grpc into delete-the-old-api
parents
581737ce
6d42a73b
No related branches found
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+5
-6
5 additions, 6 deletions
.travis.yml
src/core/iomgr/tcp_windows.c
+1
-1
1 addition, 1 deletion
src/core/iomgr/tcp_windows.c
src/node/src/client.js
+1
-0
1 addition, 0 deletions
src/node/src/client.js
tools/run_tests/prepare_travis.sh
+39
-0
39 additions, 0 deletions
tools/run_tests/prepare_travis.sh
with
46 additions
and
7 deletions
.travis.yml
+
5
−
6
View file @
94d7f854
...
...
@@ -14,24 +14,23 @@ env:
global
:
-
RUBY_VERSION=2.1
-
COVERALLS_PARALLEL=true
-
CPPFLAGS=-I/tmp/prebuilt/include
-
NUGET="mono nuget.exe"
matrix
:
-
CONFIG=opt TEST=sanity
-
CONFIG=dbg TEST=c
-
CONFIG=dbg TEST=c++
-
CONFIG=opt TEST=c
-
CONFIG=opt TEST=c++
-
CONFIG=dbg TEST="c c++"
-
CONFIG=opt TEST="c c++"
-
CONFIG=opt TEST=node
-
CONFIG=opt TEST=ruby
-
CONFIG=opt TEST=python
-
CONFIG=opt TEST=csharp
-
CONFIG=gcov TEST=c
-
CONFIG=gcov TEST=c++
-
CONFIG=gcov TEST="c c++"
-
USE_GCC=4.4 CONFIG=opt TEST=build
-
USE_GCC=4.5 CONFIG=opt TEST=build
script
:
-
rvm use $RUBY_VERSION
-
gem install bundler
-
./tools/run_tests/prepare_travis.sh
-
if [ ! -z "$USE_GCC" ] ; then export CC=gcc-$USE_GCC ; export CXX=g++-$USE_GCC ; fi
-
./tools/run_tests/run_tests.py -l $TEST -t -j 16 -c $CONFIG -s
4.0
after_success
:
...
...
This diff is collapsed.
Click to expand it.
src/core/iomgr/tcp_windows.c
+
1
−
1
View file @
94d7f854
...
...
@@ -289,7 +289,7 @@ static grpc_endpoint_write_status win_write(grpc_endpoint *ep,
return
ret
;
}
memset
(
&
socket
->
write_info
,
0
,
sizeof
(
OVERLAPPED
));
memset
(
&
socket
->
write_info
.
overlapped
,
0
,
sizeof
(
OVERLAPPED
));
status
=
WSASend
(
socket
->
socket
,
buffers
,
tcp
->
write_slices
.
count
,
&
bytes_sent
,
0
,
&
socket
->
write_info
.
overlapped
,
NULL
);
if
(
allocated
)
gpr_free
(
allocated
);
...
...
This diff is collapsed.
Click to expand it.
src/node/src/client.js
+
1
−
0
View file @
94d7f854
...
...
@@ -488,6 +488,7 @@ function makeClientConstructor(methods) {
callback
(
null
,
metadata
);
};
}
this
.
server_address
=
address
;
this
.
channel
=
new
grpc
.
Channel
(
address
,
options
);
}
...
...
This diff is collapsed.
Click to expand it.
tools/run_tests/prepare_travis.sh
0 → 100755
+
39
−
0
View file @
94d7f854
#!/bin/bash
cd
`
dirname
$0
`
/../..
grpc_dir
=
`
pwd
`
distrib
=
`
md5sum
/etc/issue |
cut
-f1
-d
\
`
echo
"Configuring for disbribution
$distrib
"
git submodule |
while
read
sha path extra
;
do
cd
/tmp
name
=
`
basename
$path
`
file
=
$name
-
$sha
-
$CONFIG
-prebuilt-
$distrib
.tar.gz
echo
-n
"
$file
..."
url
=
http://storage.googleapis.com/grpc-prebuilt-packages/
$file
wget
-q
$url
&&
(
echo
" Found."
tar
xfz
$file
)
||
true
done
mkdir
-p
bins/
$CONFIG
/protobuf
mkdir
-p
libs/
$CONFIG
/protobuf
mkdir
-p
libs/
$CONFIG
/openssl
function
cpt
{
cp
/tmp/prebuilt/
$1
$2
/
$CONFIG
/
$3
touch
$2
/
$CONFIG
/
$3
/
`
basename
$1
`
}
if
[
-e
/tmp/prebuilt/bin/protoc
]
;
then
touch
third_party/protobuf/configure
cpt bin/protoc bins protobuf
cpt lib/libprotoc.a libs protobuf
cpt lib/libprotobuf.a libs protobuf
fi
if
[
-e
/tmp/prebuilt/lib/libssl.a
]
;
then
cpt lib/libcrypto.a libs openssl
cpt lib/libssl.a libs openssl
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment