summaryrefslogtreecommitdiff
path: root/elements/swift/gf-complete.bst
diff options
context:
space:
mode:
Diffstat (limited to 'elements/swift/gf-complete.bst')
-rw-r--r--elements/swift/gf-complete.bst24
1 files changed, 24 insertions, 0 deletions
diff --git a/elements/swift/gf-complete.bst b/elements/swift/gf-complete.bst
new file mode 100644
index 00000000..3efd6d75
--- /dev/null
+++ b/elements/swift/gf-complete.bst
@@ -0,0 +1,24 @@
+kind: autotools
+depends:
+- openstack-common.bst
+sources:
+- kind: git
+ url: upstream:gf-complete
+ track: v2
+ ref: 715443661c00558fe32f004a4be5f93f341b6e59
+config:
+ configure-commands:
+ - ./autogen.sh
+ - |
+ case "%{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"