Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion acts.spec
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ cmake ../%{n}-%{realversion} \
-DCMAKE_CXX_FLAGS="-fPIC $CMS_EIGEN_CXX_FLAGS %{arch_build_flags} %{selected_microarch} %{lto_build_flags}" \
-DCMAKE_AR="$GCC_ROOT/bin/gcc-ar" \
-DCMAKE_RANLIB="$GCC_ROOT/bin/gcc-ranlib" \
-DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_INSTALL_PREFIX="%{i}" \
-DCMAKE_SKIP_INSTALL_RPATH="ON" \
%if 0%{!?without_cuda:1}
Expand Down
8 changes: 4 additions & 4 deletions amdsmi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ Source: %{rocm_systems_source}
Requires: rocm-core python3

%prep
%setup -q -n rocm-systems
%setup -q -n rocm-systems/projects/%{n}

%build

cmake \
-S %{_builddir}/rocm-systems/projects/%{n} \
-B %{_builddir}/build \
-DCMAKE_INSTALL_PREFIX=%{i} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_PREFIX_PATH="%{cmake_prefix_path}" \
-DBUILD_TESTING=OFF

make -C %{_builddir}/build %{makeprocesses}
make -C %{_builddir}/build %{makeprocesses} VERBOSE=1
%install
make -C %{_builddir}/build %{makeprocesses} install
make -C %{_builddir}/build %{makeprocesses} install VERBOSE=1
17 changes: 2 additions & 15 deletions aotriton/aotriton-cms.patch
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5d88a22..8d3cded 100644
index aba57b4..8e4584c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -127,8 +127,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/aotriton/config.h
@@ -170,8 +170,7 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/include/aotriton/config.h

# Kernel Storage V2 uses xz/LZMA for compression
if(UNIX)
Expand All @@ -12,16 +12,3 @@ index 5d88a22..8d3cded 100644
add_library(lzma_interface INTERFACE)
target_link_libraries(lzma_interface INTERFACE ${LZMA_LIBRARIES})
target_link_directories(lzma_interface INTERFACE ${LZMA_LIBRARY_DIRS})
diff --git a/v3python/base/typed_choice.py b/v3python/base/typed_choice.py
index 2028988..94a6358 100644
--- a/v3python/base/typed_choice.py
+++ b/v3python/base/typed_choice.py
@@ -305,7 +305,7 @@ class Guess(object):

class GuessNumpy(Guess):
FACTORY = {
- np.bool : constexpr.bool_t,
+ np.bool_ : constexpr.bool_t,
np.int8 : constexpr.int8_t,
np.int16 : constexpr.int16_t,
np.int32 : constexpr.int32_t,
5 changes: 3 additions & 2 deletions aotriton/spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### RPM external aotriton 0.11.2b
%define aotriton_git_sha1 dd1b68b604b5258ee7a9f7b66ad95e7a82c18065
### RPM external aotriton 0.13b
%define aotriton_git_sha1 6e00ef3e335b45dfb49065259533b59c68995bfe
## INCLUDE rocm-flags
%define rocm_gpus_cmake %(for ARCH in %{rocm_archs}; do printf "%s;" "${ARCH%%:*}"; done | sed 's/;$//')

Expand All @@ -17,6 +17,7 @@ BuildRequires: ninja cmake
rm -rf ../build ; mkdir ../build; cd ../build
export HIP_PLATFORM=amd
AOTRITON_CI_SUPPLIED_SHA1=%{aotriton_git_sha1} \
AOTRITON_GIT_TREESHA1=%{aotriton_git_sha1} \
cmake ../%{n}-%{realversion} \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
Expand Down
8 changes: 4 additions & 4 deletions aqlprofile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
Source: %{rocm_systems_source}
Requires: rocm-core rocr-runtime
%prep
%setup -q -n rocm-systems
%setup -q -n rocm-systems/projects/%{n}

%build

cmake \
-S %{_builddir}/rocm-systems/projects/%{n} \
-B %{_builddir}/build \
-DCMAKE_INSTALL_PREFIX=%{i} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_PREFIX_PATH=%{cmake_prefix_path}

make -C %{_builddir}/build %{makeprocesses}
make -C %{_builddir}/build %{makeprocesses} VERBOSE=1

%install
make -C %{_builddir}/build %{makeprocesses} install
make -C %{_builddir}/build %{makeprocesses} install VERBOSE=1
2 changes: 1 addition & 1 deletion c-blosc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BuildRequires: ninja cmake
rm -rf ../build ; mkdir ../build; cd ../build
cmake ../%{n}-%{realversion} \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_INSTALL_PREFIX:STRING=%{i} \
-DDEACTIVATE_LZ4:BOOL=OFF \
-DDEACTIVATE_SNAPPY:BOOL=ON \
Expand Down
4 changes: 2 additions & 2 deletions c-blosc2.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### RPM external c-blosc2 2.23.0
### RPM external c-blosc2 3.2.1
Source: https://github.com/Blosc/c-blosc2/archive/refs/tags/v%{realversion}.tar.gz
Requires: zlib zstd lz4
BuildRequires: ninja cmake
Expand All @@ -10,7 +10,7 @@ BuildRequires: ninja cmake
rm -rf ../build ; mkdir ../build; cd ../build
cmake ../%{n}-%{realversion} \
-G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_INSTALL_PREFIX:STRING=%{i} \
-DDEACTIVATE_ZLIB:BOOL=OFF \
-DDEACTIVATE_ZSTD:BOOL=OFF \
Expand Down
4 changes: 2 additions & 2 deletions cepgen.spec
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ export ROOTSYS=${ROOT_ROOT}
cmake ../%{n}-%{realversion} \
-G Ninja \
-DCMAKE_INSTALL_PREFIX:PATH="%i" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DBoost_NO_SYSTEM_PATHS=ON \
-DCMAKE_PREFIX_PATH="%{cmake_prefix_path}"

ninja -v %{makeprocesses}

%install
cd ../build
ninja %{makeprocesses} install
ninja -v %{makeprocesses} install

case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
rm -f %i/lib/libCepGen*-[A-Z]*-%realversion.$so
Expand Down
1 change: 1 addition & 0 deletions cern-oneapi.spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
### RPM external cern-oneapi %{oneapi_version}
## INITENV SET CERN_ONEAPI_CVMFS_VERSION %{realversion}
## NOCOMPILER
%define skip_license_checks 1
%define oneapi_install_dir /cvmfs/projects.cern.ch/intelsw/oneAPI/linux/x86_64/%{oneapi_release_year}
Source: none

Expand Down
4 changes: 2 additions & 2 deletions clang-uml.spec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ cd ../build
cmake ../%{n}-%{realversion} \
-G Ninja \
-DCMAKE_INSTALL_PREFIX:PATH="%i" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
%ifarch aarch64
-DCMAKE_CXX_FLAGS="-Wno-sign-compare" \
%endif
Expand All @@ -37,4 +37,4 @@ ninja -v %{makeprocesses}

%install
cd ../build
ninja %{makeprocesses} install
ninja -v %{makeprocesses} install
4 changes: 2 additions & 2 deletions clhep.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ cmake ../%{n}-%{realversion} \
-G Ninja \
-DCLHEP_BUILD_CXXSTD="-std=c++%{cms_cxx_standard}" \
-DCMAKE_INSTALL_PREFIX:PATH="%i" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCLHEP_BUILD_STATIC_LIBS=OFF

ninja -v %{makeprocesses}

%install
cd ../build
ninja %{makeprocesses} install
ninja -v %{makeprocesses} install

case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
rm -f %i/lib/libCLHEP-[A-Z]*-%realversion.$so
Expand Down
5 changes: 3 additions & 2 deletions davix.spec
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,17 @@ Requires: libxml2 libuuid curl
rm -rf ../build; mkdir ../build; cd ../build
cmake ../%{n}-%{realversion} \
-DCMAKE_INSTALL_PREFIX="%{i}" \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DEMBEDDED_LIBCURL=FALSE \
-DDAVIX_TESTS=False \
-DUUID_LIBRARY="${LIBUUID_ROOT}/lib64/libuuid.%{soext}" \
-DCMAKE_PREFIX_PATH="${LIBXML2_ROOT};${LIBUUID_ROOT};${CURL_ROOT}"

make VERBOSE=1 %{makeprocesses}
make %{makeprocesses} VERBOSE=1

%install
cd ../build
make install
make install VERBOSE=1

%post
%{relocateConfig}lib64/pkgconfig/davix.pc
2 changes: 1 addition & 1 deletion dd4hep.spec
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export BOOST_ROOT
rm -rf ../build; mkdir ../build; cd ../build
cmake %{cmake_fixed_args} -DBUILD_SHARED_LIBS=ON -DDD4HEP_USE_GEANT4=OFF ../%{n}-%{realversion}
make %{makeprocesses} VERBOSE=1
make install
make install VERBOSE=1

#Building DDG4 static
rm -rf ../build-g4; mkdir ../build-g4; cd ../build-g4
Expand Down
5 changes: 3 additions & 2 deletions evtgen.spec
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ mkdir ../build
cd ../build

cmake -DCMAKE_INSTALL_PREFIX:PATH=%{i} ../%{n}-%{realversion} \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DEVTGEN_HEPMC3:BOOL=OFF -DHEPMC2_ROOT_DIR:PATH=$HEPMC_ROOT \
-DEVTGEN_PYTHIA:BOOL=ON -DPYTHIA8_ROOT_DIR:PATH=$PYTHIA8_ROOT \
-DEVTGEN_PHOTOS:BOOL=ON -DPHOTOSPP_ROOT_DIR:PATH=$PHOTOSPP_ROOT \
Expand All @@ -41,12 +42,12 @@ cmake -DCMAKE_INSTALL_PREFIX:PATH=%{i} ../%{n}-%{realversion} \
perl -p -i -e "s|-shared|-dynamiclib -undefined dynamic_lookup|" make.inc
%endif

make
make VERBOSE=1

%install

cd ../build
make install
make install VERBOSE=1
mkdir -p %i/lib
find %i/lib64 -name "*.*" -exec mv {} %i/lib \;
rm -rf %i/lib64
Expand Down
6 changes: 3 additions & 3 deletions gbl.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ source %{_sourcedir}/env

cmake ../cpp \
-DCMAKE_INSTALL_PREFIX=%{i} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_VERBOSE_MAKEFILE=ON \
-DEIGEN3_INCLUDE_DIR=${EIGEN_ROOT}/include/eigen3 \
-DSUPPORT_ROOT=False \
-DCMAKE_PREFIX_PATH="%{cmake_prefix_path}" \
-DCMAKE_CXX_FLAGS="$CMS_EIGEN_CXX_FLAGS %{selected_microarch}"

make %{makeprocesses}
make %{makeprocesses} VERBOSE=1

%install
cd build
make install
make install VERBOSE=1

%post
%{relocateConfig}GBLConfig.cmake
5 changes: 2 additions & 3 deletions geant4-parfullcms.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ cd build-ParFullCMS

cmake .. \
-DCMAKE_CXX_COMPILER="g++" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_INSTALL_PREFIX:PATH="%i" \
-DCMAKE_INSTALL_LIBDIR="lib" \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS=OFF \
-DBUILD_STATIC_LIBS=ON \
-DGeant4_USE_FILE=${GEANT4_ROOT}
Expand All @@ -31,4 +30,4 @@ make %{makeprocesses} VERBOSE=1
%install

cd build-ParFullCMS
make install
make install VERBOSE=1
2 changes: 1 addition & 1 deletion google-benchmark.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cmake ../benchmark-%{realversion}-%{commit} \
-G Ninja \
-DCMAKE_INSTALL_PREFIX="%{i}" \
-DCMAKE_CXX_FLAGS="-fPIE" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DBENCHMARK_ENABLE_GTEST_TESTS=OFF \
-DBENCHMARK_DOWNLOAD_DEPENDENCIES=OFF

Expand Down
2 changes: 1 addition & 1 deletion google-test.spec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ cmake ../googletest-%{realversion}-%{commit} \
-G Ninja \
-DCMAKE_INSTALL_PREFIX="%{i}" \
-DCMAKE_CXX_FLAGS="-fPIC" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DBUILD_GMOCK=OFF

ninja -v %{makeprocesses}
Expand Down
2 changes: 1 addition & 1 deletion grpc.spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cd ../build
cmake ../%{n}-%{realversion} \
-G Ninja \
-DgRPC_INSTALL=ON \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_CXX_STANDARD=%{cms_cxx_standard} \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_LIBDIR=lib \
Expand Down
5 changes: 3 additions & 2 deletions heaptrack.spec
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ mkdir -p %i
rm -rf ../build; mkdir ../build; cd ../build

cmake ../%{n}-%{realversion} \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_INSTALL_PREFIX=%i -DCMAKE_VERBOSE_MAKEFILE=TRUE \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-g -O3" \
-DCMAKE_PREFIX_PATH="${LIBUNWIND_ROOT};${BOOST_ROOT};${ZSTD_ROOT};${BZ2LIB_ROOT};${ZLIB_ROOT}" \
-DHEAPTRACK_BUILD_GUI=off -DHEAPTRACK_USE_LIBUNWIND=on -DHEAPTRACK_BUILD_PRINT=on
make DEBUG=1 VERBOSE=1 %makeprocesses
make %makeprocesses DEBUG=1 VERBOSE=1

%install
cd ../build
make %makeprocesses install
make %makeprocesses install VERBOSE=1
%define drop_files %i/share/man
3 changes: 2 additions & 1 deletion hepmc3.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ cd ../build

cmake ../HepMC3-%{realversion} \
-DCMAKE_INSTALL_PREFIX="%i" \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_CXX_STANDARD=%{cms_cxx_standard} \
-DHEPMC3_CXX_STANDARD=%{cms_cxx_standard} \
-DHEPMC3_ENABLE_ROOTIO="OFF" \
Expand All @@ -39,4 +40,4 @@ make %{makeprocesses} VERBOSE=1

%install
cd ../build
make install
make install VERBOSE=1
3 changes: 2 additions & 1 deletion highfive.spec
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ rm -rf build
mkdir build && cd build

cmake ../%{n}-%{realversion} \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DCMAKE_INSTALL_PREFIX=%{i} \
-DHIGHFIVE_EXAMPLES=OFF \
-DCMAKE_INSTALL_PREFIX=%{i} \
Expand All @@ -26,7 +27,7 @@ cmake ../%{n}-%{realversion} \

%install
cd %{_builddir}/build
make install
make install VERBOSE=1

%post
%{relocateConfig}share/HighFive/CMake/HighFiveTargets.cmake
10 changes: 7 additions & 3 deletions hydjet.spec
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ Requires: pyquen pythia6 lhapdf

%build

cmake . -DCMAKE_INSTALL_PREFIX=%i -DCMAKE_BUILD_TYPE=Release -DPYQUEN_DIR=${PYQUEN_ROOT} -DPYTHIA6_DIR=${PYTHIA6_ROOT} -DLHAPDF_ROOT_DIR=${LHAPDF_ROOT}
cmake --build . --clean-first -- %{makeprocesses}
cmake . -DCMAKE_INSTALL_PREFIX=%i \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DPYQUEN_DIR=${PYQUEN_ROOT} \
-DPYTHIA6_DIR=${PYTHIA6_ROOT} \
-DLHAPDF_ROOT_DIR=${LHAPDF_ROOT}
cmake --build . --clean-first -- %{makeprocesses} VERBOSE=1

%install

cmake --build . --target install -- %{makeprocesses}
cmake --build . --target install -- %{makeprocesses} VERBOSE=1
11 changes: 8 additions & 3 deletions hydjet2.spec
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,17 @@ Requires: pyquen pythia6 lhapdf root

%build

cmake . -DCMAKE_INSTALL_PREFIX=%i -DCMAKE_BUILD_TYPE=Release -DPYQUEN_DIR=${PYQUEN_ROOT} -DPYTHIA6_DIR=${PYTHIA6_ROOT} -DLHAPDF_ROOT_DIR=${LHAPDF_ROOT} -DROOTSYS=${ROOT_ROOT}
cmake --build . --clean-first -- %{makeprocesses}
cmake . -DCMAKE_INSTALL_PREFIX=%i \
-DCMAKE_BUILD_TYPE=%{cmake_build_type} \
-DPYQUEN_DIR=${PYQUEN_ROOT} \
-DPYTHIA6_DIR=${PYTHIA6_ROOT} \
-DLHAPDF_ROOT_DIR=${LHAPDF_ROOT} \
-DROOTSYS=${ROOT_ROOT}
cmake --build . --clean-first -- %{makeprocesses} VERBOSE=1

%install

cmake --build . --target install -- %{makeprocesses}
cmake --build . --target install -- %{makeprocesses} VERBOSE=1

mkdir -p %{i}/data/externals/hydjet2
mv %{i}/share/* %{i}/data/externals/hydjet2
1 change: 1 addition & 0 deletions icx.spec
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## INCLUDE oneapi-config
### RPM external icx %{oneapi_version}
## NOCOMPILER
%define skip_license_checks 1
Requires: cern-oneapi
Source: none
Provides: libimf.so()(64bit)
Expand Down
Loading