<commit_before># To use high-bandwidth memory on Cori at NERSC (2nd-gen Intel Xeon Phi,
# "Knights Landing"), one needs to load the "memkind" module, and also one must
# link dynamically. If you try to link statically with memkind you will get
# lots of errors.

USE_HBM=FALSE

CC=cc

default: resist-mini-app.x

RESIST_MINI_APP_OBJ=resist-mini-app.o resist-config.o resist-context.o resist-memory.o

ifeq ($(USE_HBM),TRUE)
  LDFLAGS=-dynamic -lmemkind
  CFLAGS=-DUSE_HBM=TRUE
endif

CFLAGS+=-O0 -g -Wall -Werror

# Resist uses a number of C99 features.
CFLAGS+=-std=c99

resist-mini-app.x: $(RESIST_MINI_APP_OBJ)
	$(CC) $(RESIST_MINI_APP_OBJ) -o $@ $(LDFLAGS)

%.o: %.c
	$(CC) $(CFLAGS) -c $< -o $@

format: 
	uncrustify -c uncrustify.cfg --check *.c *.h

realclean: clean
	rm -rf *.x

clean:
	rm -rf *.o
	rm -rf *.uncrustify

<commit_msg>Test whether Travis wants -lm<commit_after># To use high-bandwidth memory on Cori at NERSC (2nd-gen Intel Xeon Phi,
# "Knights Landing"), one needs to load the "memkind" module, and also one must
# link dynamically. If you try to link statically with memkind you will get
# lots of errors.

USE_HBM=FALSE

CC=cc

default: resist-mini-app.x

RESIST_MINI_APP_OBJ=resist-mini-app.o resist-config.o resist-context.o resist-memory.o

ifeq ($(USE_HBM),TRUE)
  LDFLAGS=-dynamic -lmemkind
  CFLAGS=-DUSE_HBM=TRUE
endif

CFLAGS+=-O0 -g -Wall -Werror

# Resist uses a number of C99 features.
CFLAGS+=-std=c99

LDFLAGS+=-lm

resist-mini-app.x: $(RESIST_MINI_APP_OBJ)
	$(CC) $(RESIST_MINI_APP_OBJ) -o $@ $(LDFLAGS)

%.o: %.c
	$(CC) $(CFLAGS) -c $< -o $@

format: 
	uncrustify -c uncrustify.cfg --check *.c *.h

realclean: clean
	rm -rf *.x

clean:
	rm -rf *.o
	rm -rf *.uncrustify


{'fraction_non_alphanumeric': 0.13801169590643275, 'fraction_numerical': 0.007017543859649123, 'mean_word_length': 3.766016713091922, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '597529', 'n_tokens_mistral': 744, 'n_tokens_neox': 689, 'n_words': 203}