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
a43c14fe
Commit
a43c14fe
authored
9 years ago
by
murgatroid99
Browse files
Options
Downloads
Patches
Plain Diff
Make ruby tests see changes to C core
parent
08143719
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/ruby/ext/grpc/extconf.rb
+2
-4
2 additions, 4 deletions
src/ruby/ext/grpc/extconf.rb
tools/run_tests/build_ruby.sh
+2
-0
2 additions, 0 deletions
tools/run_tests/build_ruby.sh
tools/run_tests/run_tests.py
+1
-1
1 addition, 1 deletion
tools/run_tests/run_tests.py
with
5 additions
and
5 deletions
src/ruby/ext/grpc/extconf.rb
+
2
−
4
View file @
a43c14fe
...
...
@@ -88,10 +88,8 @@ else
else
grpc_lib_dir
=
File
.
join
(
File
.
join
(
grpc_root
,
'libs'
),
grpc_config
)
end
unless
File
.
exist?
(
File
.
join
(
grpc_lib_dir
,
'libgrpc.a'
))
print
"Building internal gRPC
\n
"
system
(
"make -C
#{
grpc_root
}
static_c CONFIG=
#{
grpc_config
}
"
)
end
print
"Building internal gRPC
\n
"
system
(
"make -C
#{
grpc_root
}
static_c CONFIG=
#{
grpc_config
}
"
)
$CFLAGS
<<
' -I'
+
File
.
join
(
grpc_root
,
'include'
)
$LDFLAGS
<<
' -L'
+
grpc_lib_dir
raise
'gpr not found'
unless
have_library
(
'gpr'
,
'gpr_now'
)
...
...
This diff is collapsed.
Click to expand it.
tools/run_tests/build_ruby.sh
+
2
−
0
View file @
a43c14fe
...
...
@@ -36,5 +36,7 @@ export GRPC_CONFIG=${CONFIG:-opt}
# change to grpc's ruby directory
cd
$(
dirname
$0
)
/../../src/ruby
rm
-rf
./tmp
bundle
install
rake compile:grpc
This diff is collapsed.
Click to expand it.
tools/run_tests/run_tests.py
+
1
−
1
View file @
a43c14fe
...
...
@@ -253,7 +253,7 @@ class RubyLanguage(object):
environ
=
_FORCE_ENVIRON_FOR_WRAPPERS
)]
def
make_targets
(
self
):
return
[
'
run_dep_checks
'
]
return
[
'
static_c
'
]
def
build_steps
(
self
):
return
[[
'
tools/run_tests/build_ruby.sh
'
]]
...
...
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