Skip to content

Commit

Permalink
Add the concept of a build revision for openresty.
Browse files Browse the repository at this point in the history
This is so that if we make changes to the ./configure or make process
for openresty, we can manually trigger a rebuild by bumping the build
revision number. This fixes scenarios like when we enabled dtrace in the
openresty configure, but since the version number of openresty didn't
change, an already cached and built system wouldn't rebuild openresty.

We should make similar changes to other packages if we ever modify their
build process without changing versions.
  • Loading branch information
GUI committed Nov 23, 2015
1 parent 1665e06 commit 518efe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,9 @@ NGX_DYUPS_URL:=https://github.com/yzprofile/ngx_http_dyups_module/archive/v$(NGX
NGX_DYUPS_INSTALL_MARKER:=$(NGX_DYUPS_NAME)$(VERSION_SEP)$(NGX_DYUPS_VERSION)

OPENRESTY_VERSION:=1.9.3.1
OPENRESTY_BUILD_REVISION:=1
OPENRESTY_NAME:=openresty
OPENRESTY:=$(OPENRESTY_NAME)-$(OPENRESTY_VERSION)
OPENRESTY:=$(OPENRESTY_NAME)-$(OPENRESTY_VERSION)-$(OPENRESTY_BUILD_REVISION)
OPENRESTY_DIGEST:=md5
OPENRESTY_CHECKSUM:=cde1f7127f6ba413ee257003e49d6d0a
OPENRESTY_URL:=http://openresty.org/download/ngx_openresty-$(OPENRESTY_VERSION).tar.gz
Expand Down

0 comments on commit 518efe9

Please sign in to comment.