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

ULib - This patch adds PostGres test alongside with minor fix #1292

Closed
wants to merge 4 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@stefanocasazza
Contributor

stefanocasazza commented Dec 24, 2014

This patch adds PostGres test database alongside with minor fix...

All tests are passing as per my Travis-CI build log

@hamiltont

View changes

Show outdated Hide outdated frameworks/C++/ULib/install.sh
@@ -56,18 +57,37 @@ fw_untar ULib-${ULIB_VERSION}.tar.gz
cd ULib-$ULIB_VERSION
# Check for the compiler support (We want at least g++ 4.8)

This comment has been minimized.

@hamiltont

hamiltont Dec 24, 2014

Contributor

I think most compilation-based c++ projects perform this kind of check in their ./configure script - I'd guess there are some predefined functions you could use instead of rolling your own checks

@hamiltont

hamiltont Dec 24, 2014

Contributor

I think most compilation-based c++ projects perform this kind of check in their ./configure script - I'd guess there are some predefined functions you could use instead of rolling your own checks

This comment has been minimized.

@stefanocasazza

stefanocasazza Dec 27, 2014

Contributor

Hi,
my need is to use a version of g++ equal to or greater than 4.8, I do not know other ways to satisfy it, but I'm open to suggestions...

@stefanocasazza

stefanocasazza Dec 27, 2014

Contributor

Hi,
my need is to use a version of g++ equal to or greater than 4.8, I do not know other ways to satisfy it, but I'm open to suggestions...

@@ -0,0 +1,11 @@
#!/bin/bash
export UMEMPOOL="545,0,0,37,8465,0,-17,-22,34"

This comment has been minimized.

@hamiltont

hamiltont Dec 24, 2014

Contributor

Question - can you tell me what this variable does? I've seen a few frameworks using it, but I can't seem to figure out what it's for

@hamiltont

hamiltont Dec 24, 2014

Contributor

Question - can you tell me what this variable does? I've seen a few frameworks using it, but I can't seem to figure out what it's for

This comment has been minimized.

@stefanocasazza

stefanocasazza Dec 27, 2014

Contributor

Hi,
the variable indicates how much memory to preallocate to the global memory pool in its various segments of stack, for details see

@stefanocasazza

stefanocasazza Dec 27, 2014

Contributor

Hi,
the variable indicates how much memory to preallocate to the global memory pool in its various segments of stack, for details see

@hamiltont

View changes

Show outdated Hide outdated frameworks/C++/ULib/setup_postgres.sh
@hamiltont

This comment has been minimized.

Show comment
Hide comment
@hamiltont

hamiltont Dec 24, 2014

Contributor

Looks great to me! Before we merge, I need you to

  • modify your install.sh to remove this line: sudo apt-get install -y libmysqlclient-dev libsqlite3-dev postgresql-server-dev-9.3 libpq-dev (this content goes into prerequisites.sh)
  • rebase this, removing the DO NOT MERGE commit (once you're ready to merge, obviously)
Contributor

hamiltont commented Dec 24, 2014

Looks great to me! Before we merge, I need you to

  • modify your install.sh to remove this line: sudo apt-get install -y libmysqlclient-dev libsqlite3-dev postgresql-server-dev-9.3 libpq-dev (this content goes into prerequisites.sh)
  • rebase this, removing the DO NOT MERGE commit (once you're ready to merge, obviously)
@hamiltont

This comment has been minimized.

Show comment
Hide comment
@hamiltont

hamiltont Dec 25, 2014

Contributor

Oh, one more. Could you ensure your benchmark_config has at least one test named "default", like this. That let's someone do a toolset/run-tests.py --test ulib and it will run the test named default

Contributor

hamiltont commented Dec 25, 2014

Oh, one more. Could you ensure your benchmark_config has at least one test named "default", like this. That let's someone do a toolset/run-tests.py --test ulib and it will run the test named default

msmith-techempower added a commit that referenced this pull request Jan 27, 2015

Merge pull request #1298 from stefanocasazza/master
This patch adds PostGres test alongside with minor fix (#1292 substituti...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment