minor update

This commit is contained in:
Blaise Tine 2024-03-31 05:36:15 -07:00
parent 7df4f1ba03
commit b4f5616814
2 changed files with 5 additions and 4 deletions

View file

@ -22,7 +22,7 @@ cache:
- $HOME/build64
before_install:
- cp -r $HOME/third_party third_party;
- cp -r $HOME/third_party .
- source ./ci/toolchain_env.sh
stages:
@ -40,10 +40,10 @@ jobs:
OSDIR=ubuntu/focal ./ci/toolchain_install.sh --all;
echo "v1" > "$TOOLDIR/version.txt";
fi
- if [ ! -d "$HOME/third_party" ] || [ -z "$(ls -A $HOME/third_party)" ] || [ "$(cat "$HOME/third_party/version.txt")" != "v1" ]; then
- if [ ! -d "$HOME/third_party" ] || [ -z "$(ls -A $HOME/third_party)" ] || [ "$(cat "$HOME/third_party/version.txt")" != "v0" ]; then
make -C third_party > /dev/null;
cp -r third_party $HOME/third_party;
echo "v1" > "$HOME/third_party/version.txt";
cp -r third_party $HOME;
echo "v0" > "$HOME/third_party/version.txt";
fi
- stage: build
name: build32

View file

@ -51,6 +51,7 @@ endif
OBJS := $(addsuffix .o, $(filter-out main.cc,$(notdir $(SRCS))))
.DEFAULT_GOAL := all
all: $(PROJECT) kernel.pocl
kernel.cl: $(SRC_DIR)/kernel.cl