Skip to content

Commit

Permalink
base: remove git directory from top-level modules.
Browse files Browse the repository at this point in the history
Modules that use git to download submodules do not need them after
cloning. Remove them right away to make the resulting non-static IOC
builds 40MB smaller.
  • Loading branch information
henriquesimoes committed Oct 15, 2024
1 parent 3af6e3d commit be9c1ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/install_area_detector.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ git submodule update --init --depth 1 -j ${JOBS} \
ADSupport \
ADCore

rm -rf .git

cd configure

module_releases="
Expand Down
2 changes: 2 additions & 0 deletions base/install_motor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ git submodule update --init -j ${JOBS} \

git -C motorPIGCS2 checkout ${PIGCS2_VERSION}

rm -rf .git

module_releases="
MOTOR=${EPICS_MODULES_PATH}/motor
MOTOR_MOTORSIM=${EPICS_MODULES_PATH}/motor/modules/motorMotorSim
Expand Down

0 comments on commit be9c1ab

Please sign in to comment.