"cell_type": "code",
"collapsed": false,
"input": [
- "import sys\n",
- "import os\n",
- "import time\n",
- "import subprocess\n",
- "from progressbar import * # From ipython github site\n",
- "from IPython.core.display import Image\n",
- "from IPython.display import display, clear_output"
+ "from common import *"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 2
},
- {
- "cell_type": "code",
- "collapsed": false,
- "input": [
- "options = {\n",
- " \"real_names\" : [\"single\", \"double\", \"long\", \"virtual\", \"Rational_GMPint\", \"Rational_Arbint\", \"mpfrc++\", \"iRRAM\", \"ParanoidNumber\", \"GMPrat\"],\n",
- " \"ipdf_src\" : \"../src/\",\n",
- " \"ipdf_bin\" : \"../bin/ipdf\",\n",
- " \"local_bin\" : \"./\",\n",
- " \"ignore\" : [\"virtual\", \"Rational_Arbint\", \"iRRAM\", \"ParanoidNumber\"],\n",
- " \"test\" : [\"single\", \"double\", \"GMPrat\"],\n",
- " \"built\" : []\n",
- "}"
- ],
- "language": "python",
- "metadata": {},
- "outputs": [],
- "prompt_number": 3
- },
{
"cell_type": "markdown",
"metadata": {},
"cell_type": "code",
"collapsed": false,
"input": [
- "p = ProgressBar(len(options[\"test\"]))\n",
+ "p = ProgressBar(len(options[\"tobuild\"]))\n",
"p.animate(0)\n",
- "for (i,b) in enumerate(options[\"test\"]): #options[\"real_names\"]:\n",
+ "for (i,b) in enumerate(options[\"tobuild\"]): #options[\"real_names\"]:\n",
" if b in options[\"ignore\"]:\n",
" continue\n",
" try:\n",