Skip to content

Commit b9b8c3f

Browse files
authored
Merge pull request #36 from JeffersonLab/evio-6-dev
Evio 6 dev
2 parents aa81f8e + 2ffdb27 commit b9b8c3f

6 files changed

Lines changed: 16 additions & 79 deletions

File tree

CMakeLists.txt

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
cmake_minimum_required(VERSION 3.22)
2-
project(evio VERSION 6.0 LANGUAGES C CXX)
2+
project(evio VERSION 6.1.0 LANGUAGES C CXX)
33

4-
# Build options (and defaults)
5-
option(C_ONLY "SKIP building C++ library, build C only" OFF)
6-
option(MAKE_EXAMPLES "Build example/test programs" OFF)
7-
option(USE_FILESYSTEMLIB "Use C++17 <filesystem> instead of Boost" OFF)
8-
option(DISRUPTOR_FETCH "Allow CMake to download Disruptor if not found" ON)
94
# C/C++ standard and build options
10-
set(CMAKE_CXX_STANDARD 17)
5+
set(CMAKE_C_STANDARD 11)
6+
set(CMAKE_C_STANDARD_REQUIRED ON)
7+
set(CMAKE_CXX_STANDARD 20)
118
set(CMAKE_CXX_STANDARD_REQUIRED ON)
129
set(CMAKE_DEBUG_POSTFIX -dbg)
1310
add_compile_options(-Wall)
1411

12+
# Build options (and defaults)
13+
option(C_ONLY "SKIP building C++ library, build C only" OFF)
14+
option(MAKE_EXAMPLES "Build example/test programs" OFF)
15+
option(USE_FILESYSTEMLIB "Use C++ <filesystem> instead of Boost" OFF)
16+
option(DISRUPTOR_FETCH "Allow CMake to download Disruptor if not found" ON)
1517
include(GNUInstallDirs)
1618
include(FindPackageHandleStandardArgs) # find_package_handle_standard_args()
1719
include(CTest)
@@ -222,7 +224,7 @@ if(DOXYGEN_FOUND)
222224

223225
# Add target of "docC"
224226
doxygen_add_docs(docC src/libsrc COMMENT "Generating Doxygen documentation for C")
225-
elseif(NOT C_ONLY)
227+
else()
226228
message(WARNING "Doxygen NOT found, documentation will not be generated")
227229
endif()
228230

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ Software Library Documentation:
7777

7878
Other Links:
7979
* [EVIO Event Viewer on GitHub](https://github.com/JeffersonLab/JEventViewer)
80+
* [pyevio: Python Based EVIO parser](https://github.com/JeffersonLab/pyevio)
8081

8182

8283
The EVIO-6 data format is closely related to the HIPO data format, following the same data
1.1 MB
Binary file not shown.

java/jars/jevio-6.0.0.jar

385 KB
Binary file not shown.

pom.xml

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<modelVersion>4.0.0</modelVersion>
33
<groupId>org.jlab.coda</groupId>
44
<artifactId>jevio</artifactId>
5-
<version>6.0.0</version>
5+
<version>6.1.0</version> <!-- JEVIO version tag -->
66
<name>Jefferson Lab EVIO Java Library (JEVIO)</name>
77
<description>Java library for EVIO (Event Input/Output)</description>
88
<packaging>jar</packaging>
@@ -13,7 +13,7 @@
1313
<!-- SOFTWARE VERSIONS USED -->
1414
<properties>
1515
<!-- Set Java version -->
16-
<java.version>15</java.version> <!-- Compatibility: if Java 8 desired, put 1.8 here (not 8) -->
16+
<java.version>17</java.version> <!-- Compatibility: if Java 8 desired, put 1.8 here (not 8) -->
1717
<maven.compiler.source>${java.version}</maven.compiler.source>
1818
<maven.compiler.target>${java.version}</maven.compiler.target>
1919
<!-- Dependencies (versions for jars we'll need to bring in) -->
@@ -42,6 +42,8 @@
4242
<version>${lz4.version}</version>
4343
</dependency>
4444
<!-- LMAX Disruptor (for ring buffer concurrency) -->
45+
<!-- WARNING: we're assuming it finds the java/jars folder with the JLab forked version -->
46+
<!-- else it will try to download from generic maven repo and fail! -->
4547
<dependency>
4648
<groupId>com.lmax</groupId>
4749
<artifactId>disruptor</artifactId>
@@ -58,7 +60,6 @@
5860

5961

6062
<build>
61-
<!-- <sourceDirectory>${project.basedir}/java</sourceDirectory> -->
6263
<plugins>
6364

6465
<!-- Install disruptor jar -->
@@ -85,33 +86,11 @@
8586
</executions>
8687
</plugin>
8788

88-
<!-- Add sources in non-standard folder setup -->
89-
<!-- <plugin>
90-
<groupId>org.codehaus.mojo</groupId>
91-
<artifactId>build-helper-maven-plugin</artifactId>
92-
<version>3.6.0</version>
93-
<executions>
94-
<execution>
95-
<id>add-jevio-tests</id>
96-
<phase>generate-test-sources</phase>
97-
<goals>
98-
<goal>add-test-source</goal>
99-
</goals>
100-
<configuration>
101-
<sources>
102-
<source>etc/java/org/jlab/coda/jevio/test</source>
103-
</sources>
104-
</configuration>
105-
</execution>
106-
</executions>
107-
</plugin> -->
108-
10989
<!-- Make the fat jar file -->
11090
<plugin>
11191
<artifactId>maven-assembly-plugin</artifactId>
112-
<version>3.6.0</version> <!-- upgrade to latest -->
92+
<version>3.6.0</version>
11393
<configuration>
114-
<!-- <appendAssemblyId>false</appendAssemblyId> -->
11594
<descriptorRefs>
11695
<descriptorRef>jar-with-dependencies</descriptorRef>
11796
</descriptorRefs>

src/main/java/org/jlab/coda/jevio/dev/EvioReadFileSimple.java

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)