Writing spec process
This commit is contained in:
parent
b5e06a2a7b
commit
b7313fd57f
1
.gear/rules
Normal file
1
.gear/rules
Normal file
@ -0,0 +1 @@
|
||||
tar.gz: v@version@:.
|
6
.gear/tags/70ff801f38ee3cda6f11cb28cb13c3f4e675b6c9
Normal file
6
.gear/tags/70ff801f38ee3cda6f11cb28cb13c3f4e675b6c9
Normal file
@ -0,0 +1,6 @@
|
||||
object b5e06a2a7b0832f034d7e405f42f0770364b607f
|
||||
type commit
|
||||
tag v1.1
|
||||
tagger Vassil Vassilev <v.g.vassilev@gmail.com> 1724834528 +0000
|
||||
|
||||
Tagging release v1.1
|
1
.gear/tags/list
Normal file
1
.gear/tags/list
Normal file
@ -0,0 +1 @@
|
||||
70ff801f38ee3cda6f11cb28cb13c3f4e675b6c9 v1.1
|
85
cling.spec
Normal file
85
cling.spec
Normal file
@ -0,0 +1,85 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only
|
||||
#%define _unpackaged_files_terminate_build 1
|
||||
#%define _stripped_files_terminate_build 1
|
||||
#%set_verify_elf_method strict
|
||||
|
||||
Name: Cling
|
||||
Version: 1.1
|
||||
Release: alt1
|
||||
Summary: Cling - The Interactive C++ Interpreter
|
||||
License: UI/NCSAOSL or LGPL
|
||||
Group: Development/C++
|
||||
Url: https://rawcdn.githack.com/root-project/cling/d59d27ad61f2f3a78cd46e652cd9fb8adb893565/www/index.html
|
||||
Vcs: https://github.com/root-project/cling
|
||||
|
||||
Packager: Aleksandr Gamzin <gamzinav@basealt.ru>
|
||||
|
||||
Source: %name-%version.tar.gz
|
||||
|
||||
BuildRequires(pre): rpm-build-cmake
|
||||
BuildRequires(pre): rpm-build-python
|
||||
BuildRequires: gcc-c++
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: llvm15.0-devel
|
||||
|
||||
BuildRequires: llvm15.0-tools
|
||||
BuildRequires: llvm15.0-gold
|
||||
|
||||
BuildRequires: clang15.0-devel
|
||||
|
||||
BuildRequires: libmlir15.0-devel
|
||||
BuildRequires: mlir15.0-tools
|
||||
|
||||
BuildRequires: libpolly15.0-devel
|
||||
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: libtinfo-devel
|
||||
|
||||
|
||||
|
||||
%description
|
||||
%summary,
|
||||
|
||||
%package devel
|
||||
Summary: %summary.
|
||||
Group: Development/C++
|
||||
|
||||
%description devel
|
||||
Cling is an interactive C++ interpreter, built on top of Clang and LLVM compiler infrastructure.
|
||||
Cling implements the read-eval-print loop (REPL) concept, in order to leverage rapid application development.
|
||||
Implemented as a small extension to LLVM and Clang,
|
||||
the interpreter reuses their strengths such as the praised concise and expressive compiler diagnostics.
|
||||
|
||||
%prep
|
||||
%setup
|
||||
#export PATH="/usr/lib/llvm-15.0/bin:$PATH"
|
||||
#export PATH="/usr/bin/clang++-15:$PATH"
|
||||
#export LLVM_DIR="/usr/lib/llvm-15.0/lib64/cmake"
|
||||
#llvm-config --prefix --version
|
||||
#clang --version
|
||||
|
||||
%build
|
||||
export LLVM_DIR="/usr/lib/llvm-15.0/lib64/cmake"
|
||||
|
||||
llvm-config --prefix --version
|
||||
%cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
# -DLLVM_EXTERNAL_PROJECTS=cling \
|
||||
# -DLLVM_EXTERNAL_CLING_SOURCE_DIR=/usr/src/RPM/BUILD/Cling-1.1/ \
|
||||
# -DLLVM_ENABLE_PROJECTS="clang" \
|
||||
# -DLLVM_TARGETS_TO_BUILD="host;NVPTX" \
|
||||
# /usr/lib/llvm-15.0
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
|
||||
|
||||
|
||||
%files devel
|
||||
|
||||
%doc *.txt
|
||||
#%_includedir/CImg*
|
||||
#%_datadir/pkgconfig/CImg.pc
|
||||
|
Loading…
x
Reference in New Issue
Block a user