Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 3.24.12 #216

Merged
merged 56 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
56 commits
Select commit Hold shift + click to select a range
3e1c79d
Works on my machine
oierlauzi Mar 20, 2024
51f5b8b
Added TIFF dependency
oierlauzi Mar 20, 2024
585f5bc
Added more dependecines
oierlauzi Mar 20, 2024
243ad15
Added FFTW3 find function
oierlauzi Mar 20, 2024
3b1447e
Added Float FFTW
oierlauzi Mar 21, 2024
ee98219
Removed python dependency
oierlauzi Mar 21, 2024
e18b252
Renamed to Xmipp
oierlauzi Mar 31, 2024
b2cad4c
Added install
oierlauzi Mar 31, 2024
63ec888
Linking to FFTW without threads
oierlauzi Apr 1, 2024
f86d3ba
Removed SOVERSION property
oierlauzi Apr 4, 2024
1396bfd
Enhanced CMake version compatiblity
oierlauzi Apr 4, 2024
b0016bf
Requesting CXX component for HDF5
oierlauzi Apr 4, 2024
2cde840
Writing dependency versions
oierlauzi Apr 8, 2024
dc4b23f
Improved action
MartinSalinas98 Apr 18, 2024
7720112
Removed SCons
MartinSalinas98 Apr 21, 2024
2efc468
Parse release number & name from changelog
MartinSalinas98 Apr 21, 2024
9ce792f
Keep format
MartinSalinas98 Apr 21, 2024
143f9a9
Auto tag & release
MartinSalinas98 Apr 21, 2024
a1abd2c
Added pycache to gitignore
MartinSalinas98 Apr 21, 2024
153e65a
Deprecate SCons
MartinSalinas98 Apr 21, 2024
4e9725b
Executed version script with python so it has appropiate permissions
MartinSalinas98 Apr 27, 2024
ea3aad1
Writing versions on streaming
oierlauzi May 8, 2024
8a82e87
Fix APPEND instead of WRITE
oierlauzi May 8, 2024
e3e56a4
Merge branch 'devel' into ms_olz_cmake
oierlauzi May 8, 2024
52cbe3c
Invoking CMake compilation
oierlauzi May 8, 2024
eb51efa
Removed xmipp dependency
oierlauzi May 8, 2024
d0ec065
Added MADV_HUGEPAGE support check
oierlauzi Jul 15, 2024
1d596d5
Merge pull request #205 from I2PC/olz_fix_huge_pages
oierlauzi Jul 15, 2024
e149ae6
Merge branch 'devel' into ms_olz_cmake
oierlauzi Jul 16, 2024
69d22e1
Updated version
oierlauzi Aug 9, 2024
ddfcab2
Merge pull request #202 from I2PC/ms_olz_cmake
oierlauzi Aug 9, 2024
07dec49
Added checks to only write version file when requested
oierlauzi Aug 28, 2024
096bf8d
Merge pull request #207 from I2PC/olz_standalone
oierlauzi Aug 28, 2024
ed7e379
Testing batched reads
oierlauzi Sep 18, 2024
3ffbc12
Update rwEER.cpp
oierlauzi Sep 18, 2024
35939ce
Bugfix
oierlauzi Sep 18, 2024
9bc5796
Fixed segfaults
Sep 18, 2024
d4340f8
Re-added deleted modification
Sep 18, 2024
e23dff2
Merge pull request #208 from I2PC/olz_eer_batch
oierlauzi Sep 24, 2024
7056a80
add label for background subtraction estimation
fede-pe Nov 5, 2024
de01197
Merge pull request #210 from I2PC/fi_addLabelSubtraction
oierlauzi Nov 13, 2024
a0c8666
Update CHANGELOG.md
albertmena Nov 20, 2024
62f8a51
Update CHANGELOG.md
albertmena Nov 20, 2024
7bf82fa
Update CHANGELOG.md
albertmena Nov 20, 2024
75ff6f7
fix
Vilax Nov 22, 2024
00003cd
Merge branch 'devel' into typeFix
albertmena Nov 25, 2024
a3507c7
Merge pull request #212 from I2PC/typeFix
cossorzano Nov 25, 2024
388d348
fixed!
albertmena Nov 26, 2024
e1ae48a
Merge branch 'devel' into olz_agm_libstdc++
albertmena Nov 26, 2024
0f7b94a
Merge pull request #213 from I2PC/olz_agm_libstdc++
albertmena Nov 26, 2024
2c40025
Handling .gain files
Nov 28, 2024
e4be215
Missing case
Nov 28, 2024
48d7dc9
Merge pull request #214 from I2PC/olz_fix_gain_files
albertmena Nov 29, 2024
dd09573
Update CHANGELOG.md
albertmena Dec 9, 2024
2de72ba
Update CHANGELOG.md
albertmena Dec 9, 2024
d587ce9
Merge branch 'master' into release-3.24.12
albertmena Dec 17, 2024
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
41 changes: 6 additions & 35 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,59 +6,30 @@ on:
pull_request:
branches: [ devel, master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-22.04

# Steps represent a sequence of tasks that will be executed as part of the job
# Disabling shallow clone is recommended for improving relevancy of reporting
steps:
# - name: Extract branch name
# shell: bash
# run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
# id: extract_branch


- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y scons libfftw3-dev libopenmpi-dev openmpi-bin libhdf5-dev python3-numpy python3-dev libtiff5-dev unzip libopencv-dev
sudo apt-get install -y libfftw3-dev libopenmpi-dev openmpi-bin libhdf5-dev python3-numpy python3-dev libtiff5-dev unzip

- name: Export CI variables
run: echo "BUILD_DIR=CIBuild" >> $GITHUB_ENV

# Using CCache to speed C/C++ compilation
- uses: hendrikmuhs/[email protected]

# Installing CUDA
# - uses: Jimver/[email protected]
# id: cuda-toolkit
# with:
# cuda: '11.8.0'
# method: network
# sub-packages: '["nvcc", "toolkit"]'
- uses: hendrikmuhs/ccache-action@main

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- uses: actions/checkout@main
with:
fetch-depth: 0

- name: Fetching Xmipp
run: ./scripts/ci_build

- name: Getting xmipp.conf
run: ./xmipp config #all br=${{ steps.extract_branch.outputs.branch }} noAsk
working-directory: ${{ env.BUILD_DIR }}
env:
CIBuild: 1
BUILD_TESTS: True

# If we got here, Xmipp can be build with this xmippCore
# Build only the core to be able to run the static code analysis
- name: Compile XmippCore
run: |
cp ${BUILD_DIR}/xmipp.conf ./
python3 $(which scons) . -j4
cmake -S . -B build/ -DXMIPP_VERSIONS_FILE=build/versions.txt
cmake --build build/ -j 4

33 changes: 33 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Release new version
on:
push:
branches: [ master ]

jobs:
generate-new-release:
runs-on: ubuntu-latest
steps:

- name: Checkout repository
uses: actions/checkout@main

- name: Retrieve tag name, release name & changelog
run: |
echo "TAG_NAME=$(python ./scripts/version.py)" >> $GITHUB_OUTPUT
awk '/## Release/{if (p) exit; p=1} p' CHANGELOG.md | tail -n +2 > latest_changelog.md
echo "RELEASE_NAME=$(python ./scripts/version.py --keep-format)" >> $GITHUB_OUTPUT
id: variables

- name: Generate tag
id: tag_version
uses: mathieudutour/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
custom_tag: ${{ steps.variables.outputs.TAG_NAME }}

- name: Create a GitHub release
uses: ncipollo/release-action@main
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: ${{ steps.variables.outputs.RELEASE_NAME }}
bodyFile: latest_changelog.md
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@

#### Python
*.pyc
__pycache__

#### Eclipse and so on
.project
Expand All @@ -34,9 +35,6 @@
.classpath
.idea

# Scons auxiliary files
.sconsign.dblite

# Other
gmon.out
*~
Expand All @@ -55,4 +53,6 @@ gmon.out
/Debug/

# VS Code
.vscode
.vscode

build/
14 changes: 6 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
## devel
## Release 3.24.12 - Poseidon
- Details about the changes on [Xmipp repository](https://github.com/I2PC/xmipp/blob/devel/CHANGELOG.md)

## ms_fix_pixelsize
11/August/2023: Fixed pixel size not being properly stored
## Release 3.24.06 - Oceanus
- Details about the changes on [Xmipp repository](https://github.com/I2PC/xmipp/blob/devel/CHANGELOG.md)

## ms_transpose_MRC
11/August/2023: MRC files with axis order other than default is now supported

## co_MRCFileFormat
22/July/2021: .ali, .preali, .rec added to the set of MRC file
## Release 3.23.11 - Nereus
- Details about the changes on [Xmipp repository](https://github.com/I2PC/xmipp/blob/devel/CHANGELOG.md)
117 changes: 117 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
#***************************************************************************
# Authors: Oier Lauzirika Zarrabeitia ([email protected])
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
# 02111-1307 USA
#
# All comments concerning this program package may be sent to the
# e-mail address '[email protected]'
# ***************************************************************************

cmake_minimum_required(VERSION 3.16)

# Define the project
project(
XmippCore
VERSION 3.24.06
LANGUAGES C CXX
)

include(GNUInstallDirs)

list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules)

# Find dependencies
find_package(HDF5 1.8 COMPONENTS C CXX REQUIRED)
if(XMIPP_VERSIONS_FILE)
file(APPEND ${XMIPP_VERSIONS_FILE} "HDF5=${HDF5_VERSION}\n")
endif()

find_package(TIFF REQUIRED)

find_package(JPEG REQUIRED)
if(XMIPP_VERSIONS_FILE)
file(APPEND ${XMIPP_VERSIONS_FILE} "JPEG=${JPEG_VERSION}\n")
endif()

find_package(SQLite3 REQUIRED)
if(XMIPP_VERSIONS_FILE)
file(APPEND ${XMIPP_VERSIONS_FILE} "SQLite3=${SQLite3_VERSION}\n")
endif()

find_package(Threads REQUIRED)

find_package(FFTW REQUIRED)

find_library(LIBSTDCXX_LIBRARY stdc++)

# Register all source and header files
file(GLOB_RECURSE
SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/core/*.cpp
${CMAKE_CURRENT_SOURCE_DIR}/core/*.cc
${CMAKE_CURRENT_SOURCE_DIR}/core/*.c
)
file(GLOB_RECURSE
HEADERS
${PROJECT_SOURCE_DIR}/include/*.h
${PROJECT_SOURCE_DIR}/include/*.hpp
)

# Create the shared library
add_library(${PROJECT_NAME} SHARED ${SOURCES})
set_target_properties(
${PROJECT_NAME} PROPERTIES
CXX_STANDARD 17
)
target_include_directories(
${PROJECT_NAME}
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}
${HDF5_INCLUDE_DIRS}
)
target_precompile_headers(
${PROJECT_NAME}
PUBLIC ${HEADERS}
)
target_link_libraries(
${PROJECT_NAME}
PUBLIC
TIFF::TIFF
SQLite::SQLite3
JPEG::JPEG
Threads::Threads
FFTW::Double
FFTW::Float
FFTW::DoubleThreads
FFTW::FloatThreads
${HDF5_LIBRARIES}
)

if(LIBSTDCXX_LIBRARY)
message("Linking to libstdc++ at ${LIBSTDCXX_LIBRARY}")
target_link_libraries(
${PROJECT_NAME}
PUBLIC
${LIBSTDCXX_LIBRARY}
)

endif()

# Install library's binary files and headers
install(
TARGETS ${PROJECT_NAME}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
Loading