Skip to content

Making wheel 3#70

Open
shimwell wants to merge 193 commits into
developfrom
making-wheel-3
Open

Making wheel 3#70
shimwell wants to merge 193 commits into
developfrom
making-wheel-3

Conversation

@shimwell
Copy link
Copy Markdown
Owner

@shimwell shimwell commented Apr 23, 2025

just updating the wheel building to have the latest development changes in openmc

# delete old images
docker rmi openmc_wheel:python3.11 -f
docker rmi openmc_wheel:python3.12 -f
docker rmi openmc_wheel:python3.13 -f

# build manylinux image
docker build -t openmc -f manylinux.Dockerfile .
docker build --no-cache --build-arg Python_ABI=cp311-cp311 --build-arg=OPENMC_USE_DAGMC=ON -t openmc_wheel:python3.11 -f manylinux.Dockerfile .
docker build --no-cache --build-arg Python_ABI=cp312-cp312 --build-arg=OPENMC_USE_DAGMC=ON -t openmc_wheel:python3.12 -f manylinux.Dockerfile .
docker build --no-cache --build-arg Python_ABI=cp313-cp313 --build-arg=OPENMC_USE_DAGMC=ON -t openmc_wheel:python3.13 -f manylinux.Dockerfile .

rm-rf wheelhouse
mkdir wheelhouse

docker create --name openmc_wheel_container_3.11 openmc_wheel:python3.11
docker cp openmc_wheel_container_3.11:/root/openmc/dist/. wheelhouse
docker rm openmc_wheel_container_3.11

docker create --name openmc_wheel_container_3.12 openmc_wheel:python3.12
docker cp openmc_wheel_container_3.12:/root/openmc/dist/. wheelhouse
docker rm openmc_wheel_container_3.12

docker create --name openmc_wheel_container_3.13 openmc_wheel:python3.13
docker cp openmc_wheel_container_3.13:/root/openmc/dist/. wheelhouse
docker rm openmc_wheel_container_3.13

docker build -f wheeltest.Dockerfile --build-arg python_version=3.11 .
docker build -f wheeltest.Dockerfile --build-arg python_version=3.12 .
docker build -f wheeltest.Dockerfile --build-arg python_version=3.13 .

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants