Skip to content

Commit

Permalink
[ci] add -std=c++11 to use unordered_map in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 29, 2024
1 parent 9e2dce4 commit 8a8fc5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion commons/Makefile_common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ BUILT := built
BINDIR := $(BIN)
OBJDIR := $(BUILT)
CCFLAGS += -c -Wall -g -DMCX_EMBED_CL -fno-strict-aliasing#-pedantic -std=c99 -mfpmath=sse -ffast-math -mtune=core2
CXXFLAGS += -std=c++11
INCLUDEDIR := $(MMCDIR)/src -I$(MMCDIR)/src/zmat/easylzma -I$(MMCDIR)/src/ubj
AROUTPUT += -o
MAKE ?= make
Expand Down Expand Up @@ -272,7 +273,7 @@ $(OBJDIR)/%$(OBJSUFFIX): %.cu
## Compile .cpp files ##
$(OBJDIR)/%$(OBJSUFFIX): %.cpp
@$(ECHO) Building $@
$(CXX) $(CCFLAGS) $(USERCCFLAGS) -I$(INCLUDEDIR) -o $@ $<
$(CXX) $(CCFLAGS) $(CXXFLAGS) $(USERCCFLAGS) -I$(INCLUDEDIR) -o $@ $<

## Compile .cpp files ##
%$(OBJSUFFIX): %.cpp
Expand Down

0 comments on commit 8a8fc5f

Please sign in to comment.