File autofdo.spec of Package autofdo

# spec file for package autofdo
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           autofdo
Version:        0.16
Release:        0
Summary:        A tool to convert profile to AutoFDO profile
License:        Apache-2.0
Group:          Development/Tools/Other
BuildRequires:  automake
BuildRequires:  gcc-c++
BuildRequires:  libopenssl-devel
BuildRequires:  libunwind-devel
BuildRequires:  zlib-devel
%if 0%{?suse_version} > 1320
BuildRequires:  clang-devel
BuildRequires:  llvm-devel

The repository contains a tool to convert profile to AutoFDO
profile that can be used by GCC and LLVM.

Each compiler is supported by a different tool. For GCC, use
'create_gcov'. For LLVM, use 'create_llvm_prof'. The two tools
have compatible command line flags. However, the outputs are
incompatible. You cannot use the profile generated for GCC in
LLVM and vice-versa.

%setup -q

autoreconf -fiv
make %{?_smp_mflags}



openSUSE Build Service is sponsored by