diff options
Diffstat (limited to 'elements/swift/gf-complete.bst')
-rw-r--r-- | elements/swift/gf-complete.bst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/elements/swift/gf-complete.bst b/elements/swift/gf-complete.bst new file mode 100644 index 00000000..be138c18 --- /dev/null +++ b/elements/swift/gf-complete.bst @@ -0,0 +1,25 @@ +kind: autotools +depends: +- openstack-common.bst +sources: +- kind: git + url: upstream:gf-complete + track: v2 + ref: 715443661c00558fe32f004a4be5f93f341b6e59 +config: + pre-configure-commands: + - ./autogen.sh + configure-commands: + - | + case "%{bst-arch}" in + x86_64) + SSE= + ;; + *) + # Disable SSE4 for any architecture which are not x86_64 bits + # see more information about architecture which support SSE in + # https://en.wikipedia.org/wiki/SSE4#Supporting_CPUs. + SSE=--disable-sse + ;; + esac + ./configure --prefix="%{prefix}" "$SSE" |