Skip to content

Instantly share code, notes, and snippets.

@topazus
Last active January 6, 2023 05:49
Show Gist options
  • Save topazus/17a6aa08b2ee70ffe172df10fcf5f569 to your computer and use it in GitHub Desktop.
Save topazus/17a6aa08b2ee70ffe172df10fcf5f569 to your computer and use it in GitHub Desktop.
%global debug_package %{nil}
%global build_timestamp %{lua: print(os.date("%Y.%m.%d"))}
Name: pony-lang
Version: 0.52.5
Release: 1%{?dist}
Summary: an open-source, actor-model, capabilities-secure, high performance programming language
License: MIT
URL: https://github.com/ponylang/ponyc
Source: https://github.com/ponylang/ponyc/archive/%{version}.tar.gz
BuildRequires: gcc make python cmake clang cmake libatomic libstdc++-static git
%description
an open-source, actor-model, capabilities-secure, high performance programming language
%prep
git clone --depth=1 https://github.com/ponylang/ponyc
%build
cd ponyc
make config=release arch=x86-64 libs build_flags="%{?_smp_mflags}"
make config=release arch=x86-64 configure
make config=release arch=x86-64 build build_flags="%{?_smp_mflags}"
%install
cd ponyc
make config=release arch=x86-64 install prefix=%{buildroot}/usr
%check
%files
%changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment