Skip to content

Commit 94e72dd

Browse files
committed
Revert "Build dmlc-core with old thread_local implementation (apache#16526)"
This reverts commit 1fb6f00.
1 parent 67bb479 commit 94e72dd

File tree

4 files changed

+1
-86
lines changed

4 files changed

+1
-86
lines changed

CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,6 @@ if("$ENV{VERBOSE}" STREQUAL "1")
101101
set(CMAKE_VERBOSE_MAKEFILE ON)
102102
endif()
103103

104-
#Switch off modern thread local for dmlc-core, please see: https://github.com/dmlc/dmlc-core/issues/571#issuecomment-543467484
105-
add_definitions(-DDMLC_MODERN_THREAD_LOCAL=0)
106-
107104

108105
if(MSVC)
109106
add_definitions(-DWIN32_LEAN_AND_MEAN)

Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,6 @@ include $(DMLC_CORE)/make/dmlc.mk
9494
# all tge possible warning tread
9595
WARNFLAGS= -Wall -Wsign-compare
9696
CFLAGS = -DMSHADOW_FORCE_STREAM $(WARNFLAGS)
97-
# use old thread local implementation in DMLC-CORE
98-
CFLAGS += -DDMLC_MODERN_THREAD_LOCAL=0
9997

10098
ifeq ($(DEV), 1)
10199
CFLAGS += -g -Werror

tests/cpp/engine/thread_local_test.cc

Lines changed: 0 additions & 80 deletions
This file was deleted.

0 commit comments

Comments
 (0)