Tcl Source Code

Check-in [cb351dea6a]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make MacOSX compile work (hopefully) and cross-compile on mingw-w64 (compile only, no unit-test yet)
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core-8-5-branch
Files: files | file ages | folders
SHA3-256: cb351dea6a088b7996f3588121f406d6778bb57f653a8c9037d1732a15f5fcc0
User & Date: jan.nijtmans 2018-10-31 21:02:42
Context
2018-11-08
17:05
[86d249bcba] Make sure that tcltest::runAllTests actually returns 1 on failure. Repairs TIP 525 Impl... check-in: 0ef0b36b31 user: dgp tags: core-8-5-branch
2018-11-01
20:18
Start building this branch with Travis. See how far we get check-in: 30da84026a user: jan.nijtmans tags: core-8-6-branch
2018-10-31
21:02
Make MacOSX compile work (hopefully) and cross-compile on mingw-w64 (compile only, no unit-test yet) check-in: cb351dea6a user: jan.nijtmans tags: core-8-5-branch
2018-10-30
20:40
Add support for DragonFly check-in: 64b7610e09 user: jan.nijtmans tags: core-8-5-branch
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to .travis.yml.

2
3
4
5
6
7
8
9

10
11
12


13
14
15
16
17

18
19
20


21
22
23
24
25
26
27
28
29
30
31

32
33
34
35
36
37
38
39
40
41

42
43
44
45
46
47
48
49
50
51

52
53
54
55
56
57
58
59
60
61

62
63
64
65

66
67
68


69
70
71
72


73
74
75
76


77



































78
79
80
81

82
83

84
85
86
87
88
89
90
91
sudo: false
language: c
matrix:
  include:
    - os: linux
      compiler: clang
      env:
        - MATRIX_EVAL="" BUILD_DIR=unix

    - os: linux
      compiler: clang
      env:


        - MATRIX_EVAL="" BUILD_DIR=unix CFGOPT=--disable-shared
    - os: linux
      compiler: gcc
      env:
        - MATRIX_EVAL="" BUILD_DIR=unix

    - os: linux
      compiler: gcc
      env:


        - MATRIX_EVAL="" BUILD_DIR=unix CFGOPT=--disable-shared
    - os: linux
      compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-4.9
      env:
        - MATRIX_EVAL="CC=gcc-4.9" BUILD_DIR=unix

    - os: linux
      compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-5
      env:
        - MATRIX_EVAL="CC=gcc-5" BUILD_DIR=unix

    - os: linux
      compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-6
      env:
        - MATRIX_EVAL="CC=gcc-6" BUILD_DIR=unix

    - os: linux
      compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-7
      env:
        - MATRIX_EVAL="CC=gcc-7" BUILD_DIR=unix

    - os: osx
      osx_image: xcode8
      env:
        - MATRIX_EVAL="" BUILD_DIR=unix

    - os: osx
      osx_image: xcode8
      env:


        - MATRIX_EVAL="" BUILD_DIR=macosx NO_DIRECT_CONFIGURE=1
    - os: osx
      osx_image: xcode9
      env:


        - MATRIX_EVAL="" BUILD_DIR=macosx NO_DIRECT_CONFIGURE=1
    - os: osx
      osx_image: xcode10
      env:


        - MATRIX_EVAL="" BUILD_DIR=macosx NO_DIRECT_CONFIGURE=1



































### C builds not currently supported on Windows instances
#    - os: windows
#      env:
#        - MATRIX_EVAL="" BUILD_DIR=win


before_install:

  - eval "${MATRIX_EVAL}"
  - export ERROR_ON_FAILURES=1
  - cd ${BUILD_DIR}
install:
  - test -n "$NO_DIRECT_CONFIGURE" || ./configure ${CFGOPT}
script:
  - make
  - make test






|
>



>
>
|



|
>



>
>
|









|
>









|
>









|
>









|
>



|
>



>
>
|



>
>
|



>
>
|
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>



|
>


>







|
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
sudo: false
language: c
matrix:
  include:
    - os: linux
      compiler: clang
      env:
        - MATRIX_EVAL=""
        - BUILD_DIR=unix
    - os: linux
      compiler: clang
      env:
        - MATRIX_EVAL=""
        - BUILD_DIR=unix
        - CFGOPT=--disable-shared
    - os: linux
      compiler: gcc
      env:
        - MATRIX_EVAL=""
        - BUILD_DIR=unix
    - os: linux
      compiler: gcc
      env:
        - MATRIX_EVAL=""
        - BUILD_DIR=unix
        - CFGOPT=--disable-shared
    - os: linux
      compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-4.9
      env:
        - MATRIX_EVAL="CC=gcc-4.9"
        - BUILD_DIR=unix
    - os: linux
      compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-5
      env:
        - MATRIX_EVAL="CC=gcc-5"
        - BUILD_DIR=unix
    - os: linux
      compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-6
      env:
        - MATRIX_EVAL="CC=gcc-6"
        - BUILD_DIR=unix
    - os: linux
      compiler: gcc
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - g++-7
      env:
        - MATRIX_EVAL="CC=gcc-7"
        - BUILD_DIR=unix
    - os: osx
      osx_image: xcode8
      env:
        - MATRIX_EVAL=""
        - BUILD_DIR=unix
    - os: osx
      osx_image: xcode8
      env:
        - MATRIX_EVAL=""
        - BUILD_DIR=macosx
        - NO_DIRECT_CONFIGURE=1
    - os: osx
      osx_image: xcode9
      env:
        - MATRIX_EVAL=""
        - BUILD_DIR=macosx
        - NO_DIRECT_CONFIGURE=1
    - os: osx
      osx_image: xcode10
      env:
        - MATRIX_EVAL=""
        - BUILD_DIR=macosx
        - NO_DIRECT_CONFIGURE=1
# Test with mingw-w64 (32 bit)
    - os: linux
      compiler: i686-w64-mingw32-gcc
      addons:
        apt:
          packages:
            - gcc-mingw-w64-base
            - binutils-mingw-w64-i686
            - gcc-mingw-w64-i686
            - gcc-mingw-w64
            - gcc-multilib
            - wine
      env:
        - MATRIX_EVAL=""
        - BUILD_DIR=win
        - CFGOPT=--host=i686-w64-mingw32
        - NO_DIRECT_TEST=1

# Test with mingw-w64 (64 bit)
    - os: linux
      compiler: x86_64-w64-mingw32-gcc
      addons:
        apt:
          packages:
            - gcc-mingw-w64-base
            - binutils-mingw-w64-x86-64
            - gcc-mingw-w64-x86-64
            - gcc-mingw-w64
            - wine
      env:
        - MATRIX_EVAL=""
        - BUILD_DIR=win
        - CFGOPT=--host=x86_64-w64-mingw32 --enable-64bit
        - NO_DIRECT_TEST=1

### C builds not currently supported on Windows instances
#    - os: windows
#      env:
#        - MATRIX_EVAL=""
#        - BUILD_DIR=win

before_install:
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then rvm get stable; fi
  - eval "${MATRIX_EVAL}"
  - export ERROR_ON_FAILURES=1
  - cd ${BUILD_DIR}
install:
  - test -n "$NO_DIRECT_CONFIGURE" || ./configure ${CFGOPT}
script:
  - make
  - test -n "$NO_DIRECT_TEST" || make test