Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion c_glib/arrow-dataset-glib/enums.c.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/*** BEGIN file-production ***/

/* enumerations from "@filename@" */
/* enumerations from "@basename@" */
/*** END file-production ***/

/*** BEGIN value-header ***/
Expand Down
2 changes: 1 addition & 1 deletion c_glib/arrow-dataset-glib/enums.h.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ G_BEGIN_DECLS

/*** BEGIN file-production ***/

/* enumerations from "@filename@" */
/* enumerations from "@basename@" */
/*** END file-production ***/

/*** BEGIN value-header ***/
Expand Down
2 changes: 1 addition & 1 deletion c_glib/arrow-glib/enums.c.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/*** BEGIN file-production ***/

/* enumerations from "@filename@" */
/* enumerations from "@basename@" */
/*** END file-production ***/

/*** BEGIN value-header ***/
Expand Down
2 changes: 1 addition & 1 deletion c_glib/arrow-glib/enums.h.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ G_BEGIN_DECLS

/*** BEGIN file-production ***/

/* enumerations from "@filename@" */
/* enumerations from "@basename@" */
/*** END file-production ***/

/*** BEGIN value-header ***/
Expand Down
2 changes: 1 addition & 1 deletion c_glib/gandiva-glib/enums.c.template
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

/*** BEGIN file-production ***/

/* enumerations from "@filename@" */
/* enumerations from "@basename@" */
/*** END file-production ***/

/*** BEGIN value-header ***/
Expand Down
2 changes: 1 addition & 1 deletion c_glib/gandiva-glib/enums.h.template
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ G_BEGIN_DECLS

/*** BEGIN file-production ***/

/* enumerations from "@filename@" */
/* enumerations from "@basename@" */
/*** END file-production ***/

/*** BEGIN value-header ***/
Expand Down
4 changes: 4 additions & 0 deletions cpp/src/arrow/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,10 @@ macro(append_runtime_avx512_src SRCS SRC)
endmacro()

# Write out compile-time configuration constants
string(REPLACE "${CMAKE_SOURCE_DIR}" "<CMAKE_SOURCE_DIR>" REDACTED_CXX_FLAGS
${CMAKE_CXX_FLAGS})
string(REPLACE "${CMAKE_BINARY_DIR}" "<CMAKE_BINARY_DIR>" REDACTED_CXX_FLAGS
${REDACTED_CXX_FLAGS})
configure_file("util/config.h.cmake" "util/config.h" ESCAPE_QUOTES)
configure_file("util/config_internal.h.cmake" "util/config_internal.h" ESCAPE_QUOTES)
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/util/config.h"
Expand Down
1 change: 0 additions & 1 deletion cpp/src/arrow/util/config.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#define ARROW_CXX_COMPILER_ID "@CMAKE_CXX_COMPILER_ID@"
#define ARROW_CXX_COMPILER_VERSION "@CMAKE_CXX_COMPILER_VERSION@"
#define ARROW_CXX_COMPILER_FLAGS "@CMAKE_CXX_FLAGS@"

#define ARROW_BUILD_TYPE "@UPPERCASE_BUILD_TYPE@"

Expand Down
1 change: 1 addition & 0 deletions cpp/src/arrow/util/config_internal.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

// These variables are not exposed as they can make compilation caching
// and increment builds less efficient.
#define ARROW_CXX_COMPILER_FLAGS "@REDACTED_CXX_FLAGS@"
Comment thread
raulcd marked this conversation as resolved.

#define ARROW_GIT_ID "@ARROW_GIT_ID@"
#define ARROW_GIT_DESCRIPTION "@ARROW_GIT_DESCRIPTION@"
Loading