summaryrefslogtreecommitdiff
path: root/elements/swift/gf-complete.bst
blob: 3efd6d755799e8bcecc9d65be4dc3af8f5174a32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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"