removed unused fmt header | bench 1115526
This commit is contained in:
1 parent
41b421ded5
commit
2bde715482
6 files changed
+1
-9235
No files matched your search
@@ -1,7 +1,6 @@
|
|||||||
# Define directories
|
# Define directories
|
||||||
SRC_DIR := source
|
SRC_DIR := source
|
||||||
OBJ_DIR := obj
|
OBJ_DIR := obj
|
||||||
FMT_DIR := external/fmt
|
|
||||||
|
|
||||||
EXE ?= Eleanor
|
EXE ?= Eleanor
|
||||||
EVALFILE := ./nnue.bin
|
EVALFILE := ./nnue.bin
|
||||||
@@ -58,18 +57,12 @@ MAKEFLAGS += -j
|
|||||||
SRCS := $(wildcard $(SRC_DIR)/*.cpp)
|
SRCS := $(wildcard $(SRC_DIR)/*.cpp)
|
||||||
OBJS := $(patsubst $(SRC_DIR)/%.cpp, $(OBJ_DIR)/%.o, $(SRCS))
|
OBJS := $(patsubst $(SRC_DIR)/%.cpp, $(OBJ_DIR)/%.o, $(SRCS))
|
||||||
|
|
||||||
FMT_SRC := $(FMT_DIR)/format.cc
|
$(EXE)$(EXE_EXT): $(OBJS)
|
||||||
FMT_OBJ := $(OBJ_DIR)/format.o
|
|
||||||
|
|
||||||
$(EXE)$(EXE_EXT): $(OBJS) $(FMT_OBJ)
|
|
||||||
$(CXX) $(CXXFLAGS) -DEVALFILE=\"$(EVALFILE)\" $^ -o $@ $(LDFLAGS)
|
$(CXX) $(CXXFLAGS) -DEVALFILE=\"$(EVALFILE)\" $^ -o $@ $(LDFLAGS)
|
||||||
|
|
||||||
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp | $(OBJ_DIR)
|
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp | $(OBJ_DIR)
|
||||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
||||||
|
|
||||||
$(FMT_OBJ): $(FMT_SRC) | $(OBJ_DIR)
|
|
||||||
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
|
||||||
|
|
||||||
$(OBJ_DIR):
|
$(OBJ_DIR):
|
||||||
$(MKDIR) $(OBJ_DIR)
|
$(MKDIR) $(OBJ_DIR)
|
||||||
|
|
||||||
@@ -82,4 +75,3 @@ else
|
|||||||
@$(RM) $(OBJ_DIR)
|
@$(RM) $(OBJ_DIR)
|
||||||
@$(DEL) $(EXE)$(EXE_EXT)
|
@$(DEL) $(EXE)$(EXE_EXT)
|
||||||
endif
|
endif
|
||||||
$(MAKE)
|
|
||||||
Vendored
-2985
File diff suppressed because it is too large.
Load diff
Vendored
-1949
File diff suppressed because it is too large.
Load diff
Vendored
-4244
File diff suppressed because it is too large.
Load diff
Vendored
-46
@@ -1,46 +0,0 @@
|
|||||||
// Formatting library for C++
|
|
||||||
//
|
|
||||||
// Copyright (c) 2012 - 2016, Victor Zverovich
|
|
||||||
// All rights reserved.
|
|
||||||
//
|
|
||||||
// For the license information refer to format.h.
|
|
||||||
|
|
||||||
#include "fmt/format-inl.h"
|
|
||||||
|
|
||||||
FMT_BEGIN_NAMESPACE
|
|
||||||
namespace detail {
|
|
||||||
|
|
||||||
template FMT_API auto dragonbox::to_decimal(float x) noexcept
|
|
||||||
-> dragonbox::decimal_fp<float>;
|
|
||||||
template FMT_API auto dragonbox::to_decimal(double x) noexcept
|
|
||||||
-> dragonbox::decimal_fp<double>;
|
|
||||||
|
|
||||||
#if FMT_USE_LOCALE
|
|
||||||
// DEPRECATED! locale_ref in the detail namespace
|
|
||||||
template FMT_API locale_ref::locale_ref(const std::locale& loc);
|
|
||||||
template FMT_API auto locale_ref::get<std::locale>() const -> std::locale;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Explicit instantiations for char.
|
|
||||||
|
|
||||||
template FMT_API auto thousands_sep_impl(locale_ref)
|
|
||||||
-> thousands_sep_result<char>;
|
|
||||||
template FMT_API auto decimal_point_impl(locale_ref) -> char;
|
|
||||||
|
|
||||||
// DEPRECATED!
|
|
||||||
template FMT_API void buffer<char>::append(const char*, const char*);
|
|
||||||
|
|
||||||
// DEPRECATED!
|
|
||||||
template FMT_API void vformat_to(buffer<char>&, string_view,
|
|
||||||
typename vformat_args<>::type, locale_ref);
|
|
||||||
|
|
||||||
// Explicit instantiations for wchar_t.
|
|
||||||
|
|
||||||
template FMT_API auto thousands_sep_impl(locale_ref)
|
|
||||||
-> thousands_sep_result<wchar_t>;
|
|
||||||
template FMT_API auto decimal_point_impl(locale_ref) -> wchar_t;
|
|
||||||
|
|
||||||
template FMT_API void buffer<wchar_t>::append(const wchar_t*, const wchar_t*);
|
|
||||||
|
|
||||||
} // namespace detail
|
|
||||||
FMT_END_NAMESPACE
|
|
||||||
@@ -3,8 +3,6 @@
|
|||||||
#include <string>
|
#include <string>
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
#include "../external/fmt/fmt/format.h"
|
|
||||||
|
|
||||||
class Board;
|
class Board;
|
||||||
|
|
||||||
#ifdef __AVX512F__
|
#ifdef __AVX512F__
|
||||||
|
|||||||
Reference in new issue
Block a user