Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Julien Cabieces
otb
Commits
777d2cf6
Commit
777d2cf6
authored
10 years ago
by
Manuel Grizonnet
Browse files
Options
Downloads
Patches
Plain Diff
ENH: move script to update internal itk to otb-devutils
parent
4709d314
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Utilities/ITK/README.OTB.txt
+0
-79
0 additions, 79 deletions
Utilities/ITK/README.OTB.txt
with
0 additions
and
79 deletions
Utilities/ITK/README.OTB.txt
deleted
100644 → 0
+
0
−
79
View file @
4709d314
Update of ITK in OTB source tree
================================
#Perhpas better to update internal ITK using the archive .tar.gz
# Remove old version
find Utilities/ITK -type f -not -name "README.OTB.txt" | xargs rm
find Utilities/ITK/* -type d | xargs rm -r
# Copy new version
cp -R /home/jmalik/dev/src/ITK/* Utilities/ITK
# git files
rm -rf Utilities/ITK/.git*
rm -rf Utilities/ITK/Modules/Remote/.gitignore
rm -rf Utilities/ITK/Modules/External/.gitignore
rm -rf Utilities/ITK/Modules/ThirdParty/.gitattributes
# Remove ITK module test code
find Utilities/ITK -type d | grep -v vxl_shared_link_test | grep test$ | xargs rm -rf
# Remove ThirdParty code we don't need
rm -rf Utilities/ITK/Modules/ThirdParty/DCMTK
rm -rf Utilities/ITK/Modules/ThirdParty/DICOMParser
rm -rf Utilities/ITK/Modules/ThirdParty/GDCM
rm -rf Utilities/ITK/Modules/ThirdParty/GIFTI
rm -rf Utilities/ITK/Modules/ThirdParty/HDF5
rm -rf Utilities/ITK/Modules/ThirdParty/JPEG
rm -rf Utilities/ITK/Modules/ThirdParty/MINC
rm -rf Utilities/ITK/Modules/ThirdParty/NIFTI
rm -rf Utilities/ITK/Modules/ThirdParty/NrrdIO
rm -rf Utilities/ITK/Modules/ThirdParty/OpenJPEG
rm -rf Utilities/ITK/Modules/ThirdParty/PNG
rm -rf Utilities/ITK/Modules/ThirdParty/TIFF
# Remove IO modules code we don't need
find Utilities/ITK/Modules/IO -maxdepth 1 -mindepth 1 -type d | grep -v ImageBase | xargs rm -rf
rm -rf Utilities/ITK/Modules/Core/TestKernel
rm -rf Utilities/ITK/Modules/Bridge
rm -rf Utilities/ITK/Modules/Numerics/FEM
rm -rf Utilities/ITK/Modules/Nonunit/Review
rm -rf Utilities/ITK/Modules/Segmentation/LevelSetsv4Visualization
rm -rf Utilities/ITK/Modules/Registration/FEM
rm -rf Utilities/ITK/Modules/Compatibility/Deprecated
# Remaining ThirdParty :
DoubleConversion (needed by Common)
Expat (needed by MetaIO)
KWSys (needed by Common)
MetaIO (needed by SpatialObjects)
Netlib (needed by Statistics)
VNL (needed by VNLInstantiation Netlib)
VNLInstantiation (needed by Common)
ZLIB (needed by MetaIO)
# Remove directory we don't use in OTB
rm -rf Utilities/ITK/Documentation
rm -rf Utilities/ITK/Examples
rm -rf Utilities/ITK/Testing
rm -rf Utilities/ITK/Utilities/Dart
rm -rf Utilities/ITK/Utilities/DevelopmentSetupScripts
rm -rf Utilities/ITK/Utilities/Git
rm -rf Utilities/ITK/Utilities/Hooks
rm -rf Utilities/ITK/Utilities/InstallTest
rm Utilities/ITK/Utilities/SetupForDevelopment.sh
# Check that everything is working properly by compiling OTB with internal ITK
# and run some tests
# Commit those changes in one commit. Use the -A option of hg commit to
# add/remove new/old files in ITK
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment