aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
Commit message (Collapse)AuthorAge
* Merge pull request #70 from ctiller/benchmarkGravatar vjpai2015-01-16
|\ | | | | Opportunistically use perftools if installed.
* | Factor out the pollset kicking mechanism and eliminate shardingGravatar David Klempner2015-01-16
| | | | | | | | | | | | | | | | | | This change pulls out a separate pollset_kick module, which currently uses a freelist of pipes dynamically assigned to pollsets when they enter polling rather than the previous racy sharding mechanism. We ultimately may wish to eliminate the dynamic assignment for multipoll sets, but this should be sufficient for the moment.
* | Merge pull request #88 from ctiller/shutdownGravatar Yang Gao2015-01-16
|\ \ | | | | | | Add an optional server shutdown event.
* | | Adding a few more comments in the Makefile template, to explain some of its ↵Gravatar Nicolas Noble2015-01-16
| | | | | | | | | | | | more obscure features.
| * | Add an optional server shutdown event.Gravatar Craig Tiller2015-01-16
|/ / | | | | | | | | | | Allows servers to expedite shutdown once all in-progress calls are completed. We may want to eventually remove grpc_server_shutdown in preference to this.
* | Fixing parallel build.Gravatar Nicolas "Pixel" Noble2015-01-16
| | | | | | | | | | 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.
| * Opportunistically use perftools if installed.Gravatar Craig Tiller2015-01-15
| | | | | | | | Allows us to collect profiles of the open source build using gprof.
* | Fixing typos in build.json: .cpp -> .ccGravatar Nicolas Noble2015-01-15
|/ | | | | | This was working so far because of GNU make's magic that automatically finds the sources depending on its output, and not on its input. This also explains why running "make" would always rebuild the plugins: because GNU make think some dependencies are phony and aren't there.
* Merge pull request #47 from ctiller/makecleanGravatar Nicolas Noble2015-01-15
|\ | | | | Cleanup makefiles
* | Add missing spaceGravatar Craig Tiller2015-01-15
| |
* | Fixing zlib dependency build.Gravatar Nicolas "Pixel" Noble2015-01-15
| |
| * Remove protoc_plugins, and use a variable.Gravatar Craig Tiller2015-01-15
| | | | | | | | | | Files that have dependencies on phony targets are always remade, leading to much unnecessary compiling of the C++ tests.
| * Add missing spaceGravatar Craig Tiller2015-01-15
| |
| * Remove _DEPS variablesGravatar Craig Tiller2015-01-15
| | | | | | | | They're trivially recreatable from the _OBJS variables now.
| * Generate dependencies when compiling the .oGravatar Craig Tiller2015-01-15
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Remove clean rulesGravatar Craig Tiller2015-01-15
| | | | | | | | It's safe enough to just delete the build product directories.
* | Force using custom libraries if we are using ?SAN.Gravatar Craig Tiller2015-01-15
| | | | | | | | | | These libraries need to see all of the source code, so using system installed libraries is out of the question.
* | Support compiling zlib with ?SANGravatar Craig Tiller2015-01-15
| |
* | Compile OpenSSL differently for each config.Gravatar Craig Tiller2015-01-15
|/ | | | MSAN, TSAN, ASAN need to see all the code. Valgrind, MSAN want -DPURIFY.
* Merge pull request #13 from ctiller/nogoGravatar Qi Zhao2015-01-14
|\ | | | | Remove go codegen from this repository
* \ Merge github.com:google/grpc into gcovGravatar Craig Tiller2015-01-13
|\ \
| * | Don't mix C and C++ libraries.Gravatar Nicolas Noble2015-01-13
| | | | | | | | | | | | Now buildtests_c won't try to build C++ libraries.
* | | Merge github.com:google/grpc into gcovGravatar Craig Tiller2015-01-13
|\| |
| | * Merge github.com:google/grpc into nogoGravatar Craig Tiller2015-01-13
| | |\ | | |/ | |/|
| * | Fix qps test.Gravatar Craig Tiller2015-01-13
| | | | | | | | | | | | This was failing to compile.
| | * Remove go compilerGravatar Craig Tiller2015-01-13
| | |
* | | Add tools/run_tests/run_lcov.shGravatar Craig Tiller2015-01-12
| |/ |/| | | | | | | This is a tool for collecting coverage reports from our tests and combining them with the open-source tool 'lcov'.
| * Merge github.com:google/grpc into testcppGravatar Craig Tiller2015-01-12
| |\ | |/ |/|
* | Moving the google-internal security code in their own files.Gravatar jboeuf2015-01-12
| | | | | | | | | | | | | | | | | | | | Checked that the opensource version still builds. Just addressing core for now. We will do c++ later. Change on 2015/01/12 by jboeuf <jboeuf@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83804014
* | Splitting grpc_test_util into gpr_test_util.Gravatar nnoble2015-01-12
| | | | | | | | | | | | | | Change on 2015/01/12 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83801564
| * Allow C++ tests to be built in parallelGravatar Craig Tiller2015-01-12
| |
| * Fix some C++ test dependenciesGravatar Craig Tiller2015-01-12
|/
* Fix gRPC compilation failureGravatar rsilvera2015-01-12
| | | | | | | | Update location of rpc_method.cc on the Makefile Change on 2015/01/12 by rsilvera <rsilvera@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83786942
* Preparing the go plugin for non-[] compilation.Gravatar nnoble2015-01-12
| | | | | | | Change on 2015/01/09 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83651056
* Add impl subdirectory under public and move headers that need to be installedGravatar yangg2015-01-12
| | | | | | | | to it. Change on 2015/01/09 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83640373
* Add ServiceAccount Credentials wrapping and handle credentials creationGravatar yangg2015-01-12
| | | | | | | | failure. Change on 2015/01/09 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83634736
* Add a test to export two TestService on the same server, only with differentGravatar yangg2015-01-09
| | | | | | | | | | package names. Make sure they work as intended. This is based on [] Change on 2015/01/08 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83558743
* C implementation of Census trace store and stats store for grpc C lib.Gravatar hongyu2015-01-09
| | | | | | | Change on 2015/01/08 by hongyu <hongyu@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83556470
* Fix opensource build.Gravatar ctiller2015-01-09
| | | | | | | Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83469328
* Remove libevent.Gravatar ctiller2015-01-09
| | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* Add a --forever flag, to continuously run tests as things change.Gravatar ctiller2015-01-09
| | | | | | | Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83451760
* Fix opensource build.Gravatar ctiller2015-01-08
| | | | | | | Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83469328
* Remove libevent.Gravatar ctiller2015-01-08
| | | | | | | | | | | | | | | | | | | | | | | Fixed any exposed bugs across the stack. Add a poll() based implementation. Heavily leverages pollset infrastructure to allow small polls to be the norm. Exposes a mechanism to plug in epoll/kqueue for platforms where we have them. Simplify iomgr callbacks to return one bit of success or failure (instead of the multi valued result that was mostly unused previously). This will ease the burden on new implementations, and the previous system provided no real value anyway. Removed timeouts on endpoint read/write routines. This simplifies porting burden by providing a more orthogonal interface, and the functionality can always be replicated when desired by using an alarm combined with endpoint_shutdown. I'm fairly certain we ended up with this interface because it was convenient to do from libevent. Things that need attention still: - adding an fd to a pollset is O(n^2) - but this is probably ok given that we'll not use this for multipolling once platform specific implementations are added. - we rely on the backup poller too often - especially for SSL handshakes and for client connection establishment we should have a better mechanism ([] [] - Linux needs to use epoll for multiple fds, FreeBSD variants (including Darwin) need to use kqueue. ([] [] - Linux needs to use eventfd for poll kicking. ([] Change on 2015/01/07 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83461069
* Use CONFIG after defining it. Define CONFIG before using it.Gravatar yangg2015-01-06
| | | | | | | Change on 2015/01/06 by yangg <yangg@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83383325
* Add msan, tsan, asan targets for Makefile.Gravatar ctiller2015-01-06
| | | | | | | | Expand test runner to be compatible. Change on 2015/01/06 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83378004
* Allow specifying CONFIG as a string, instead of DEBUG=1.Gravatar ctiller2015-01-06
| | | | | | | | This will open the way for CONFIG=tsan, for instance. Change on 2015/01/06 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83368093
* Adding plugins to the mako rendering system.Gravatar nnoble2015-01-06
| | | | | | | Change on 2015/01/05 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=83302581
* Provide a port of cpu related code to posix, and linux.Gravatar ctiller2014-12-29
| | | | | | | | Properly set this up in our build environment. Change on 2014/12/23 by ctiller <ctiller@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82725899
* Solving chicken-and-egg issue while detecting OpenSSL capabilities.Gravatar nnoble2014-12-29
| | | | | | | Change on 2014/12/22 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82690228
* Improving Makefile support for shared libraries.Gravatar nnoble2014-12-29
| | | | | | | | | | | | | | | | -) Properly linking built-in OpenSSL into the grpc library. -) grpc now properly depends on gpr when linking shared code. -) Properly naming the shared library with all their aliases. -) Properly installing the shared library aliases on the system. -) Potentially supporting Darwin and MINGW32 targets for shared libraries. Caveat: if using shared libraries, some tests will not compile anymore if they want to use OpenSSL functions, as they are no longer publically available externally. Which is the feature we were seeking. The Makefile currently does it properly, by linking the tests statically. This only applies when using external code and Makefiles, if said external code improperly assumes SSL is available through grpc. Change on 2014/12/22 by nnoble <nnoble@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82656438