GitHub user RoddieKieley opened a pull request: https://github.com/apache/qpid-proton/pull/129
PROTON-522: Apache Qpid Proton on Mac/OSX - C/Objective-C Updates to the code and cmake files to allow successful builds on OSX. Tested locally on 10.11.6 with Xcode 7.3.1 for both -G "Unix Makefiles" and -G "Xcode". Note that valgrind is disabled for the Xcode generator due to a large number of issues there at the moment the still require investigation, however the -G "Unix Makefiles" do not exhibit the same valgrind issues. Also relevant for -G "Xcode" is that by default a Debug build is done and tests are run via 'ctest -VV -C Debug' wihch enables the test executables to be launched from the 'buildtype' directory rather than the directory itself. As per the PR for PROTON-1342 there is travis CI configured for the PROTON-522 branch over [here](https://travis-ci.org/RoddieKieley/qpid-proton/branches). While the basic build should work well with minimal spurious test failures there is remaining work to be done in a number of areas such as cyrus sasl, Xcode valgrind, ipv4 vs. ipv6 and port reuse handling in the tests, etc. Further enhancements should include obj-c and swift bindings as well as native kqueue support. Feedback encouraged! You can merge this pull request into a Git repository by running: $ git pull https://github.com/RoddieKieley/qpid-proton PROTON-522 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/qpid-proton/pull/129.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #129 ---- commit 436c6e239ff1c2a576fd713365890b7ccf7969ca Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-10T23:02:00Z Minimal travis yaml update for osx commit 0b2351f1edf7138629e880f8cb1f31828664f9cd Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-11T00:22:33Z Added OSX Build of PROTON-522 branch to README.md and updated .travis.yml with more osx specifics. commit 37d916b104a673b7ed717f398c17b265ea19f810 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-11T01:43:51Z Now with openssl and cyrus sasl configured. commit d531a3c7b076e2620766737ff5bab07851605ee6 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-11T02:40:05Z Disabled osx openssl brew install and added OPENSSL_INCLUDE_DIR as per brew location commit 74cebd1a3297c85bcb9c180e95a147b06c0c1a9f Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-12T01:41:35Z Enabled std=c++11 via CXXFLAGS and disabled thread local for osx as apple clang appears to have removed it for xcode 6 and 7 - may need further conditionals for later versions. commit a32c2806e2821f289a4322d3883465dd14363b57 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-14T01:32:49Z Added mutex init for pn_listener_t and pconnection_init as well as mutex destroy for pn_listener_t commit fc3bcd183429e94bafafeb2229cc391b8463baf0 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-14T12:26:22Z Merge branch 'master' into PROTON-522 commit ae3e0cdffc693f9fbaf2b0a696d2fa0c0b884dde Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-14T15:40:49Z Removed pn_incref and pn_decref from pconnection_free to eliminate SEGFAULT during reconnect test on OSX. commit 89b20cebc459abe5111c04bc0a859e7b9b6a6ffd Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-15T13:34:43Z Merge master. commit de8341028b2fb21189b70e1bb2eedb4dcc62296a Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-15T21:45:38Z Updated the SASL_VERSION_FULL check for sasl_client_done and sasl_server_done calls to 020124 as per the release notes here amqps://localhost:51524/examples /Users/rkieley/LocalProjects/issues/PROTON-522/qpid-proton-roddiekieley/examples/cpp/ssl_certs to fix failing cpp-example-container-ssl test on OSX. commit c65b12e213bb5951b463beb3a1d9b605f907ec5c Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-19T01:23:27Z Potentially incorrect fix to pass test_netaddr by using ipv6 when __APPLE__ and ipv4 otherwise. commit d29cab9b35bb614780e34ff06c3b639c89e672e8 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-19T01:34:10Z Merge branch 'master' into PROTON-522 commit 095a81dcc5e120f674f4f86f3a85e826708653b2 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-19T01:43:20Z Removed the i386 OSX architecture. commit 68c663950010651e9c60a361eabbd25bc9ff3826 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-19T01:59:10Z Updated travis yaml to remove extraneous echo of QPID_PROTON_CMAKE_ARGS as well as now redundant -DCMAKE_OSX_ARCHITECTURES in the cmake command line. commit 91f8d118e75ff951a5757fa300419ed6f4fbbce1 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-19T13:24:20Z Rectified need for externall exported CXXFLAGS to set -std=c++11. Updated travis yaml accordingly. Removed now incorrect comment. commit f15a0bdf11b2c96981d9ad7cb4c3acea7fe98ff7 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-19T13:26:28Z Updated travis to set OPENSSL environment variable only on osx. commit ed99ba82a545cc97a257c7c0d6b7266d821d7985 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-19T13:29:51Z Testing OPENSSL_DIR_INCLUDE. commit 1168157889727618eba9574a1d40bc74abfcbb24 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-19T13:34:44Z Testing OPENSSL_DIR_INCLUDE. commit 7cd99c9aa09213593b226bf8df3d673f3d685db3 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-19T17:46:54Z Testing OPENSSL_DIR_INCLUDE. commit 29eea2857e285ef4f5f43bb11eeb9b854de8abfc Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-20T00:13:36Z Testing OPENSSL_DIR_INCLUDE. commit 8ddcc081da83e9c8f21b936213d6f9a8d97a5e9d Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-20T11:48:25Z Testing OPENSSL_DIR_INCLUDE. commit 719a871cadcf4fe3e010e38fd6c21f9c3ab73788 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-20T16:34:18Z Merge branch 'master' into PROTON-522 commit b6f4d7a827610ffa34aee706cfc954f188bd2a2d Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-20T17:44:48Z Updated cmake config for c-example-test to allow tests to run from buildtype subdirectory as required for Xcode build. commit 24b05305e05cf671a66daee36cde5caffcb3c18f Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-21T01:12:09Z Travis matrix testing. commit 824c5d7288b26f0210f4e1cb98bb76483c72d888 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-21T17:03:10Z Testing CMAKE_OSX_DEPLOYMENT_TARGET. commit bfc2901038f308f1d881d3f23a0e5453664e2c6a Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-21T18:15:17Z Testing CMAKE_OSX_DEPLOYMENT_TARGET. commit 65dfb5bac95118b1c539abcd13931f7e51a13caf Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-23T01:01:21Z Merge branch 'master' into PROTON-522 commit 1c1fa1fafc9eb029afcd4d414db7fb2bf549c0b7 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-23T02:04:39Z Testing install of cyrus-sasl for osx failure of go-test due to missing saslpasswd2. commit a0885b6c1b66036b183855e1fa4b841684b8ca77 Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-24T00:31:52Z Testing install of cyrus-sasl for osx failure of go-test due to missing saslpasswd2. commit 9af008bdff6ce4ab64af8480811fd3afba1d51be Author: Roddie Kieley <rkie...@unifiedsoftworx.com> Date: 2017-09-24T00:38:56Z Testing install of cyrus-sasl for osx failure of go-test due to missing saslpasswd2. ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org