Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample to generate linux binary using .travis.yml #94

Closed
larrycai opened this issue Jun 25, 2019 · 2 comments · May be fixed by #97
Closed

sample to generate linux binary using .travis.yml #94

larrycai opened this issue Jun 25, 2019 · 2 comments · May be fixed by #97

Comments

@larrycai
Copy link

it will be nice to have automation inside the repo to generate binary automatically like using .travis-ci.yaml, therefore it can also be a binary release.

Or someone had clear instruction on how to build binary from base ubuntu 18.04

As an end-user, I want to have a linux binary to analyse my hand card.

@larrycai
Copy link
Author

larrycai commented Nov 4, 2019

I try to use it in python env, but always get memory issues

$ docker run -it -v $PWD:/dds -w /dds ubuntu:bionic
# apt-get update
# apt-get install -y g++ make libboost-all-dev libomp-dev 
# cd src
# make -f Makefiles/Makefile_linux_shared
# make install -f Makefiles/Makefile_linux_shared
# cd ../examples
# export LD_LIBRARY_PATH=$PWD
# cp Makefiles/Makefile_linux Makefile
# make
# ./AnalysePlayBin
Memory::GetPtr: 0 vs. 0
# python3 -c 'from ctypes import *;import os; dll = CDLL(os.path.abspath("libdds.so"));'
Memory::GetPtr: 0 vs. 0
Memory::GetPtr: 0 vs. 0

@larrycai larrycai changed the title possible to generate linux binary using .travis-ci.yaml sample to generate linux binary using .travis.yml Nov 4, 2019
@larrycai
Copy link
Author

larrycai commented Nov 9, 2019

By using the patch of my pull request (with help from anntzer/redeal), it works now.

@larrycai larrycai closed this as completed Nov 9, 2019
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 a pull request may close this issue.

1 participant