Skip to content

Commit 36dfff6

Browse files
authored
Remove BLAS and fix warning in HgcrocPulseTruth (#1824)
1 parent 30d2516 commit 36dfff6

File tree

3 files changed

+3
-7
lines changed

3 files changed

+3
-7
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ EventDisplay/include/EventDisplay/EventDisplayLinkDef.h
3131
.bash*
3232
.profile
3333
.denv
34+
.apptainer

Recon/src/Recon/Event/HgcrocPulseTruth.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ void HgcrocPulseTruth::clear() {}
99
double HgcrocPulseTruth::getMax() const {
1010
auto hits = compositePulse_.hits();
1111

12-
std::sort(
12+
std::ranges::sort(
1313
hits.begin(), hits.end(),
1414
[](const std::pair<double, double> &a,
1515
const std::pair<double, double> &b) { return a.second < b.second; });

cmake/BuildMacros.cmake

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,10 +133,6 @@ macro(setup_genie_target)
133133
add_genie_target(GRwIO)
134134
add_genie_target(GRwClc)
135135

136-
add_library(blas SHARED IMPORTED GLOBAL) # or STATIC instead of SHARED
137-
set_target_properties(blas PROPERTIES
138-
IMPORTED_LOCATION "/usr/lib/x86_64-linux-gnu/libblas.so.3")
139-
140136
set(GENIE_LIBS
141137
log4cpp
142138
gsl
@@ -197,8 +193,7 @@ macro(setup_genie_target)
197193
Genie::GTlGeo
198194
Genie::GTlFlx
199195
ROOT::MathCore
200-
ROOT::MathMore
201-
blas)
196+
ROOT::MathMore)
202197
message(STATUS "Found GENIE")
203198
endif()
204199
endmacro()

0 commit comments

Comments
 (0)