Skip to content

Commit

Permalink
ARROW-17842: [C++][CI] Use Brew installed clang for MacOS verify-rc (a…
Browse files Browse the repository at this point in the history
…pache#14236)

Same problem as apache#14187 (comment)

Authored-by: Jin Shang <shangjin1997@gmail.com>
Signed-off-by: Sutou Kouhei <kou@clear-code.com>
  • Loading branch information
js8544 authored and fatemehp committed Oct 17, 2022
1 parent 7f48b1a commit 43e05ac
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp/src/arrow/flight/sql/example/sqlite_server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "arrow/flight/sql/example/sqlite_server.h"

#include <sqlite3.h>

#define BOOST_NO_CXX98_FUNCTION_BASE // ARROW-17805
#include <boost/algorithm/string.hpp>
#include <mutex>
#include <random>
Expand Down
1 change: 1 addition & 0 deletions cpp/src/arrow/flight/sql/example/sqlite_statement.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@

#include <sqlite3.h>

#define BOOST_NO_CXX98_FUNCTION_BASE // ARROW-17805
#include <boost/algorithm/string.hpp>

#include "arrow/flight/sql/column_metadata.h"
Expand Down
2 changes: 1 addition & 1 deletion cpp/src/arrow/flight/sql/test_app_cli.cc
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// under the License.

#include <gflags/gflags.h>

#define BOOST_NO_CXX98_FUNCTION_BASE // ARROW-17805
#include <boost/algorithm/string.hpp>
#include <iostream>
#include <memory>
Expand Down
2 changes: 2 additions & 0 deletions dev/tasks/verify-rc/github.macos.amd64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@ jobs:
USE_CONDA: 1
{% endif %}
run: |
export CC=$(brew --prefix llvm)/bin/clang
export CXX=$(brew --prefix llvm)/bin/clang++
arrow/dev/release/verify-release-candidate.sh {{ release|default("") }} {{ rc|default("") }}

0 comments on commit 43e05ac

Please sign in to comment.