-
Notifications
You must be signed in to change notification settings - Fork 196
Fix POWER and z/Linux builds #282
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
Conversation
parrobe
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't add an in-line but the make targets for build-devserver and build-advancedserver need to call build-golang-sdk-ex not build-golang-sdk. It's because if you can the non-ex version of it for some reason make decides to try and download the sdk file a second time which if we're overriding can cause the file to be replaced with a HTTP error file.
| $(DOCKER) build -t $(MQ_IMAGE_GOLANG_SDK) -f incubating/mq-golang-sdk/Dockerfile . | ||
| build-golang-sdk: docker-version build-sdk | ||
| $(info $(shell printf $(TITLE)"Build $(MQ_IMAGE_GOLANG_SDK)"$(END))) | ||
| @echo hello |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debug statements
| $(info $(shell printf $(TITLE)"Build $(MQ_IMAGE_GOLANG_SDK)"$(END))) | ||
| @echo hello | ||
| $(DOCKER) build --build-arg BASE_IMAGE=$(MQ_IMAGE_SDK) -t $(MQ_IMAGE_GOLANG_SDK) -f incubating/mq-golang-sdk/Dockerfile . | ||
| @echo goodbye |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debug statements again
Makefile-UBUNTU
Outdated
| .PHONY: build-golang-sdk | ||
| build-golang-sdk: | ||
| $(DOCKER) build -t $(MQ_IMAGE_GOLANG_SDK) -f incubating/mq-golang-sdk/Dockerfile . | ||
| build-golang-sdk: docker-version build-sdk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one should also be called build-golang-sdk-ex
We will need a separate build-golang-sdk make target that does:
.PHONY: build-golang-sdk
build-golang-sdk: downloads/$(MQ_SDK_ARCHIVE) build-golang-sdk-ex
No description provided.