Skip to content

Commit

Permalink
disable some unused tests
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Jul 12, 2022
1 parent 4adc910 commit e1c270b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ EXTDIR:=$(TOPDIR)../cybozulib_ext/
CFLAGS+= -I$(TOPDIR)include
LDFLAGS += -lz -lpthread -lssl -lcrypto
HAS_BOOST=0#$(shell echo "\#include <boost/version.hpp>" | ($(CXX) -E - 2>/dev/null) | grep "boost/version.hpp" >/dev/null && echo "1")
HAS_MECAB=$(shell echo "\#include <mecab.h>" | ($(CXX) -E - 2>/dev/null) | grep "mecab.h" >/dev/null && echo "1")
HAS_EIGEN=$(shell echo "\#include <eigen3/Eigen/Sparse>" | ($(CXX) -E - 2>/dev/null) | grep "eigen3/Eigen/Sparse" >/dev/null && echo "1")
HAS_MECAB=0#$(shell echo "\#include <mecab.h>" | ($(CXX) -E - 2>/dev/null) | grep "mecab.h" >/dev/null && echo "1")
HAS_EIGEN=0#$(shell echo "\#include <eigen3/Eigen/Sparse>" | ($(CXX) -E - 2>/dev/null) | grep "eigen3/Eigen/Sparse" >/dev/null && echo "1")
ifeq ($(HAS_BOOST),1)
LDFLAGS += -lboost_regex
endif
Expand Down

0 comments on commit e1c270b

Please sign in to comment.