Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
timurbazhirov authored Dec 24, 2024
1 parent 5515989 commit ee2355d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
name: pymatgen
package-name: pymatgen
version: "v2024.11.13"
command: 'export CFLAGS="-DLONG_BIT=64 -DSIZEOF_VOID_P=8 -D_FILE_OFFSET_BITS=64" && export CXXFLAGS="-DLONG_BIT=64 -DSIZEOF_VOID_P=8 -D_FILE_OFFSET_BITS=64"'
# - repo: https://github.com/pydantic/pydantic/
# name: pydantic
# package-name: pydantic
Expand Down Expand Up @@ -80,6 +79,9 @@ jobs:
if [[ ! -z "${{ matrix.command }}" ]]; then
${{ matrix.command }}
fi
# exports only needed for pymatgen
export CFLAGS="-DLONG_BIT=64 -DSIZEOF_VOID_P=8 -D_FILE_OFFSET_BITS=64"
export CXXFLAGS="-DLONG_BIT=64 -DSIZEOF_VOID_P=8 -D_FILE_OFFSET_BITS=64"
git clone --depth 1 --branch ${{ matrix.version }} ${{ matrix.repo }}
cd ${{ matrix.name }}
pyodide build
Expand Down

0 comments on commit ee2355d

Please sign in to comment.