Skip to content

Conversation

@bakpaul
Copy link
Contributor

@bakpaul bakpaul commented Apr 11, 2025

No description provided.

echo "Setting env for PR #$BRANCH_OR_PR_NUMBER"
WORK_FOLDER=$GITHUB_WORKSPACE/PR$BRANCH_OR_PR_NUMBER
else
if [ "$GITHUB_REPOSITORY_OWNER" != "bakpaul" ]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [ "$GITHUB_REPOSITORY_OWNER" != "bakpaul" ]; then
if [ "$GITHUB_REPOSITORY_OWNER" != "bakpaul" ]; then # TODO_before_PR_in_SOFA : replace with sofa-framework

Comment on lines 354 to 368
echo "Configuring with the supported plugins/modules (scope = supported-plugins)"

if [[ "$VM_BUILDS_IMGUI" == "false" ]]; then
add-cmake-option "-DPLUGIN_SOFAIMGUI=OFF"
fi

if [[ "$VM_HAS_CGAL" == "false" ]]; then
add-cmake-option "-DPLUGIN_CGALPLUGIN=OFF -DSOFA_FETCH_CGALPLUGIN=OFF"
fi

if [[ "$VM_HAS_CUDA" == "true" ]]; then
add-cmake-option "-DSOFACUDA_DOUBLE=ON"
if in-array "build-release-package" "$BUILD_OPTIONS"; then
add-cmake-option "-DCUDA_ARCH_LIST=6.0;6.1;7.0;7.5;8.0;8.6;8.9"
else
add-cmake-option "-DCUDA_ARCH_LIST=6.0;8.9"
fi
add-cmake-option "-DPLUGIN_VOLUMETRICRENDERING_CUDA=ON"
add-cmake-option "-DPLUGIN_SOFADISTANCEGRID_CUDA=ON"
else
add-cmake-option "-DPLUGIN_SOFACUDA=OFF"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure to understand why you modify these

@@ -0,0 +1,124 @@
#!/bin/bash
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To rename (as we discussed)

@hugtalbot
Copy link
Contributor

hugtalbot commented Apr 29, 2025

I would also suggest to rename the configure.sh vs configure-and-build.sh scripts and to make sure that the script headers (description) are up to date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

2 participants