Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[amx] Test Enhance: move test src to top folder #399

Merged
merged 1 commit into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
35 changes: 14 additions & 21 deletions BM/amx/Makefile
Original file line number Diff line number Diff line change
@@ -1,25 +1,18 @@
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (c) 2022 Intel Corporation.

SUBDIRS = $(shell ls -d */)

PROXY :=
# SPDX-License-Identifier: GPL-2.0
CFLAG = -O2 -W -Wall -g -fno-strict-aliasing
LIBS = -lpthread
CC = gcc
BIN_AMX = tmul
CFILES_AMX = tmul.c

all:
@for dir in $(SUBDIRS); do \
if [ -f "$$dir/Makefile" ]; then \
cd $$dir && \
make || { \
cd ..; \
continue; \
}; \
cd ..; \
fi \
done
$(CC) $(CFLAG) $(CFILES_AMX) -o $(BIN_AMX) $(LIBS)

fp16: CFLAG += -g -DFP16
fp16: all

clean:
@for dir in $(SUBDIRS); do \
if [ -f "$$dir/Makefile" ]; then \
make -C $$dir clean || continue; \
fi \
done
-rm $(BIN_AMX)

.PHONY: clean

File renamed without changes.
18 changes: 0 additions & 18 deletions BM/amx/tmul/Makefile

This file was deleted.

Loading