Yang Gao
044fe221b1
suppress output of which
10 years ago
Nicolas "Pixel" Noble
2c23a725c0
Fixing typo in Makefile.
...
Closes #742 .
10 years ago
Craig Tiller
7ab4fee9e7
Allow multiple tmp-merge directories at once
...
make -jN was failing because libgrpc and libgrpc++ wanted to link at the same time.
10 years ago
Nicolas "Pixel" Noble
161ea23655
Actually installing root certificates on the system.
10 years ago
Craig Tiller
9ec95fafdc
Fix in tree build of protobuf
...
If we are building protobuf because of an incompatible out of tree protobuf installation, then make sure that we don't accidentally use that versions includes.
10 years ago
Nicolas "Pixel" Noble
98ab998c29
Adding a helpful installation message about protobuf.
...
Also, fixing protobuf in-place compilation for real, this time.
10 years ago
Craig Tiller
ec0430335d
Fix in tree build of openssl on mac
10 years ago
Nicolas "Pixel" Noble
36a6e18b4e
Let's not install our potentially broken version of protobuf onto the system and pollute people's environment.
10 years ago
Nicolas "Pixel" Noble
5732a8c99a
Force compilation of protobuf using -fPIC.
10 years ago
Nicolas "Pixel" Noble
932d5d33d4
Turns out the -D option of install is GNU-specific, and doesn't exist on MacOS.
10 years ago
Nicolas "Pixel" Noble
dda049ce18
Various MacOS build fixes.
...
-) Secure files shouldn't be in the base grpc.
-) grpc++ depends on gpr.
-) grpc++ depends on protobuf (!)
10 years ago
Craig Tiller
d7f333547c
Makefile cleanup
10 years ago
Nicolas "Pixel" Noble
72743820ab
Defining an installation prefix for grpc's root certs at compilation time.
10 years ago
Nicolas "Pixel" Noble
e567fa9325
Some 32 bits platforms don't like buildint asm for openssl.
10 years ago
Nicolas "Pixel" Noble
cc2b42aa96
Running ldconfig shouldn't fail; so we can run fakeroot make install properly.
10 years ago
Vijay Pai
850290ff7c
Fix a bug in Makefile where cpp_plugin name hadn't been updated yet where it
...
was used.
10 years ago
Nicolas "Pixel" Noble
522d7122a8
Polishing Makefile to better install targets.
...
-) renamed cpp_plugin and ruby_plugin to grpc_cpp_plugin and grpc_ruby_plugin.
-) installing plugins.
-) install will now run protobuf's installation too.
-) adding documentation about installation prefix.
10 years ago
Jan Tattermusch
2ec0b3ea59
make grpc_csharp_ext compile and install independently from the grpc and gpr libraries
10 years ago
vjpai
7cc2c309f3
Mac-specific Makefile inclusions and installation instructions
...
Not yet fully building due to some gtest anomalies on Mac.
10 years ago
Craig Tiller
3b93548b1c
Add Makefile copyright
10 years ago
Craig Tiller
da224d6d7c
Fixes
10 years ago
Craig Tiller
61b910f638
Add support for out of tree builds
...
Auto-dependency building doesn't do this (yet)
10 years ago
Nicolas "Pixel" Noble
d66cba2b93
Properly msan-instrumenting protobuf and our C++ tests - but gflags isn't instrumented yet.
10 years ago
Craig Tiller
e3018e6f7d
Avoid four allocations per stream
10 years ago
Craig Tiller
96bd5f6b76
Add ubsan support
10 years ago
Nicolas Noble
5383062df6
Compiling protobuf from the Makefile if we don't have it on the system.
10 years ago
Craig Tiller
fef766933e
Back-end for new core API
10 years ago
Craig Tiller
50524cc67d
Properly deal with end of stream
10 years ago
Nicolas "Pixel" Noble
213ed91850
Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors.
10 years ago
Nicolas "Pixel" Noble
c630682ad8
Enabling extra warnings, and disabling error on warning.
...
We have too many warnings going unchecked. The next step is to
fix all these warnings. One can re-enable errors on warning by
doing: CPPFLAGS=-Werror make in order to start fixing them.
10 years ago
Nicolas "Pixel" Noble
3a2551c0bd
Let's not strip libraries if compiled in anything other than release.
...
Hopefully works around #90 .
10 years ago
Nicolas "Pixel" Noble
d8f8b6b57c
Generating library aliases under Linux, hopefully fixing #192 .
10 years ago
Craig Tiller
96b49557ec
Sort out some more compile flags for Mac
10 years ago
Craig Tiller
b4ee3b5977
Make libraries compile on Darwin
10 years ago
Craig Tiller
59140fc116
Explicitly name the target language.
...
Instead of C++ or not C++, name C++ and C, in preparation for being able to name other languages in the future.
10 years ago
Nicolas Noble
047b72706d
Adding a few more comments in the Makefile template, to explain some of its more obscure features.
10 years ago
Nicolas "Pixel" Noble
17f2b5921e
Fixing parallel build.
...
The source code of the libraries depends on openssl being built, as it will setup the headers.
Since we don't know exactly which source depends on openssl (we could start flagging it in build.json, but that'd be painful), we just flag all the source for every ssl-enabled library to depend on openssl being built.
10 years ago
Craig Tiller
297fafa078
Opportunistically use perftools if installed.
...
Allows us to collect profiles of the open source build using gprof.
10 years ago
Craig Tiller
a614caa54b
Add missing space
10 years ago
Nicolas "Pixel" Noble
85bf09b315
Fixing zlib dependency build.
10 years ago
Craig Tiller
f58b9ef681
Remove protoc_plugins, and use a variable.
...
Files that have dependencies on phony targets are always remade, leading
to much unnecessary compiling of the C++ tests.
10 years ago
Craig Tiller
f0afe50dc9
Add missing space
10 years ago
Craig Tiller
8f126a6552
Remove _DEPS variables
...
They're trivially recreatable from the _OBJS variables now.
10 years ago
Craig Tiller
12c8209c93
Generate dependencies when compiling the .o
...
If we don't have a .o, we don't need dependencies, so skip the setup
step of building them. Instead, when building the .o, we generate the
.dep and output it (to objs/ to make the rules a little easier). The
next run of make will include the dep file and any dependencies will be
picked up.
This change also disables the disabling of dependency checking if we
have zlib or openssl being compiled from third_party. Additionally it
inverts the logic for including dependencies from ONLY if we are doing a
clean to ONLY if we are NOT doing a clean.
10 years ago
Craig Tiller
3759e6f0f1
Remove clean rules
...
It's safe enough to just delete the build product directories.
10 years ago
Craig Tiller
c4da6b7ad5
Force using custom libraries if we are using ?SAN.
...
These libraries need to see all of the source code, so using system
installed libraries is out of the question.
10 years ago
Craig Tiller
3ccae020f2
Support compiling zlib with ?SAN
10 years ago
Craig Tiller
ec0b8f3f77
Compile OpenSSL differently for each config.
...
MSAN, TSAN, ASAN need to see all the code. Valgrind, MSAN want -DPURIFY.
10 years ago
Craig Tiller
699ba2135a
Fix Makefile.template
10 years ago
Nicolas Noble
9e47552e53
Don't mix C and C++ libraries.
...
Now buildtests_c won't try to build C++ libraries.
10 years ago