Skip to content

Commit

Permalink
debug windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
poszu committed Jan 14, 2025
1 parent ae711dc commit 6a72b39
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ install:
.PHONY: install

build: go-spacemesh get-profiler get-postrs-service
tree build
echo $(CGO_CFLAGS)
.PHONY: build

get-libs: get-postrs-lib get-postrs-service get-athena-lib
Expand Down
6 changes: 1 addition & 5 deletions Makefile-libs.Inc
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,7 @@ $(BIN_DIR).athena.version.$(ATHENA_SETUP_REV): $(PROJ_DIR)$(ATHENA_SETUP_ARTIFAC

$(BINDIR_ATHENA_SETUP_LIBS): $(BIN_DIR).athena.version.$(ATHENA_SETUP_REV)
mkdir -p $(dir $@)
ifeq ($(GOOS),windows)
unzip -DD -o -j $(subst /,\\,$(PROJ_DIR)$(ATHENA_SETUP_ARTIFACT)) -d $(subst /,\\,$(BIN_DIR)) $(subst $(BIN_DIR),,$@)
else
tar xzf $(PROJ_DIR)$(ATHENA_SETUP_ARTIFACT) -C $(BIN_DIR) $(subst $(BIN_DIR),,$@)
endif
unzip -DD -o $(PROJ_DIR)$(ATHENA_SETUP_ARTIFACT) -d $(BIN_DIR) $(subst $(BIN_DIR),,$@)
touch $@

# rename athena VM library
Expand Down

0 comments on commit 6a72b39

Please sign in to comment.