Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Support 32 bit architectures #14

Open
chaitan94 opened this issue Jul 11, 2020 · 0 comments
Open

Support 32 bit architectures #14

chaitan94 opened this issue Jul 11, 2020 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@chaitan94
Copy link
Member

Right now MEOS does not support 32 bit architectures. I am not sure if there is any demand for this issue right now, so I might not invest more into this right now. However, putting the details here in case anyone wants to take a stab at it.

How to test in a 32 bit environment

We can spin up a temporary container with 32 bit ubuntu with a volume mapping using:

$ docker run --rm -it -v $(pwd):/app i386/ubuntu:rolling bash

Then we can build and test MEOS within the container

# apt update
# apt install python3-pip git
# cd /app
# python3 -m pip install .
# python3 -m pip install -r test/python/requirements.txt
# pytest

Right now most errors are because of loss of information in datetime, example:

E       AssertionError: assert 'STBOX ZT((11...:00:43+0000))' == 'STBOX ZT((11...:00:00+0000))'
E         - STBOX ZT((11, 12, 13, 2011-01-01T00:00:00+0000), (21, 22, 23, 2011-01-02T00:00:00+0000))
E         ?                       ^ --    -   ^    ^^                     ^ --    ^^  ^    ^^
E         + STBOX ZT((11, 12, 13, 1970-01-13T05:00:43+0000), (21, 22, 23, 1970-01-14T05:00:43+0000))
E         ?                       ^^^      +  ^    ^^                     ^^^     ^^  ^    ^^
@chaitan94 chaitan94 added the enhancement New feature or request label Jul 11, 2020
@chaitan94 chaitan94 added the help wanted Extra attention is needed label Aug 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant